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

Giovanni Marigi do-not-reply at jboss.com
Sat Apr 23 07:10:35 EDT 2011


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

"Re: jbpm3 update variables in contextinstance"

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

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

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/5399ab59/attachment.html 


More information about the jboss-user mailing list