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

"Re: Pass the result of a workitem to the next workitem with a workitemhandler"

To view the discussion, visit: https://community.jboss.org/message/739233#739233

--------------------------------------------------------------
The wItem parameter that you have in the handlers is a reference to the curren 
Work Item and not to the previous one. 
What you have to do is to return a Map<String,Object> in WorkItemA (just like 
you are doing), then map the results of that Work Item as process variables, 
and then map those variables (just the one you will need) as input parameters 
of WorkItemB. In WorkItemB you can get those values using 
wItem.getParameter(...).
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://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