[jboss-user] [jBPM] - Re: How to get an object like kcontext to call setVariable("variable", value) for begin used by following tasks??

Mauricio Salatino do-not-reply at jboss.com
Mon Oct 17 12:31:36 EDT 2011


Mauricio Salatino [http://community.jboss.org/people/salaboy21] created the discussion

"Re: How to get an object like kcontext to call setVariable("variable",value) for begin used by following tasks??"

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

--------------------------------------------------------------
Hi Guo-Guang,
Instead of setting a variable to the kcontext you should do the variable mapping in the workitem and the process will automatically copy that information to the process scope when the work item finish. The main idea of work item is that is an external execution from the process context, so having access to the kcontext is not usually a good practice.

Cheers
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/632116#632116]

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/20111017/67a6ce73/attachment.html 


More information about the jboss-user mailing list