Thanks,
But what if i use
taskService().setVariableLocal(taskId, variableName, value);
or
delegateTask.setVariableLocal(variableName, value)
then the variable will be created against that task .
I need something similar to that for service task also.
Is it possible ?