myUserName1 is my variable before i update her myUserName2 is my variable after i update her But when I call it in a restAPI I get a nullPointerException
Someone can show me how to update a variable defined in the workflow ?
@madn: if you define a variable like that in the service task properties, it means that your service task will set that variables in the execute() method. It is kinda like 'metadata' for your service task.
Instead of using createVariableLocal … why arent you using the setVariable() method?