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

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

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to