[jboss-user] [jBPM] - Re: passing data to nodes

Demian Calcaprina do-not-reply at jboss.com
Mon Sep 5 13:33:08 EDT 2011

Demian Calcaprina [http://community.jboss.org/people/calca] created the discussion

"Re: passing data to nodes"

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

You define process variables and then, in a task node, you receive parameters and put results. You map these parameters and results to process variables. So you share information between nodes with the process variables. 

In the work item handler, you retrieve the parameters from workItem.getParameters(), and you put the results in the way you mentioned (.completeWorkItem).

If you are in a gateway, you can access directly to a process variable by its name. (you can use it in a constraint for example).



Reply to this message by going to Community

Start a new discussion in jBPM at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110905/77f8e398/attachment.html 

More information about the jboss-user mailing list