[jboss-user] [jBPM] - jbpm3 update variables in contextinstance

Giovanni Marigi do-not-reply at jboss.com
Sat Apr 23 05:28:54 EDT 2011


Giovanni Marigi [http://community.jboss.org/people/hifly81] created the discussion

"jbpm3 update variables in contextinstance"

To view the discussion, visit: http://community.jboss.org/message/601706#601706

--------------------------------------------------------------
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
[http://community.jboss.org/message/601706#601706]

Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110423/68bec741/attachment.html 


More information about the jboss-user mailing list