JBoss Community

jbpm3 update variables in contextinstance

created by Giovanni Marigi in jBPM - View the full discussion

Hi,

in a jbpm 3 process inside a Node implemented with a custom action handler, I update the value of a variable inside the ContextInstance. When the process leaves this node and enters in the following node (a decision hanlder) I don't have the updated value for this variable but the original value (that I set at the beginning in the start node). Must I save the process instance opening a JbpmContext and calling the save method after updating the variables?

My process is configured to be persisted so I believed that was not necessary.

 

Thanks,

Giovanni

Reply to this message by going to Community

Start a new discussion in jBPM at Community