How to get Input Parameters in java delegate?

In Camunda-Modeler, I set input parameter in service task. Then I try to use delegateExecution.getVariable() to get input parameter in java delegate, but the result is null.

I can use delegateExecution.getVariable() to get global process variables.

I want to know if there is another function to get input parameter in java delegate.

Hi @EightSnow
Can you share your model and the code you’re using?