JBoss Community

Re: jbpm3 update variables in contextinstance

created by Giovanni Marigi in jBPM - View the full discussion

just an update: if I change the value of a String variable in the custom node action handler, this is updated by the process and I see the new value in the decision handler node.

This not happens if i change a variable that contains an Object.

In debug just before leaving the action handler if I watch inside context.getVariables() I have the value changed for my object, but when I enter inside the new node I have inside context.getVariables() the old valuefor my object.

I even tried to remove the object variable and the adding again but it's same.

 

Thanks,

Giovanni

Reply to this message by going to Community

Start a new discussion in jBPM at Community