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

Esteban Aliverti do-not-reply at jboss.com
Tue Sep 6 12:05:55 EDT 2011

Esteban Aliverti [http://community.jboss.org/people/eaa] created the discussion

"Re: passing data to nodes"

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

You are missing some steps in the middle  :) 

First of all, you need to declare each of the "variables" passed in startProcess() as process variables.
Then you need to map the variables you want to use into your WorkItemHandler. In order to do this, you need to configure the input parameters of the Work Item Node. What you need to do is basically to map the process variable name with the work item variable name that you want to use.
After you do this, you will be able to access the variable from within the Work Item Handler.

For further examples you can take a look at this set of examples:  https://github.com/esteban-aliverti/JBPM-Samples https://github.com/esteban-aliverti/JBPM-Samples

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/20110906/f5fbeb0f/attachment.html 

More information about the jboss-user mailing list