[jboss-user] [jBPM] - Re: Any help how to play with WorkItemHandler with parameter mapping ?

Wooi Joe Chuah do-not-reply at jboss.com
Sun Oct 28 22:16:42 EDT 2012


Wooi Joe Chuah [https://community.jboss.org/people/joe.chuah] created the discussion

"Re: Any help how to play with WorkItemHandler with parameter mapping ?"

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

--------------------------------------------------------------
AFAIK, the map you inserted belongs to the ProcessInstance "testflow-web". Hence to get the data from the map, you have to obtain the ProcessInstance inside your work item handler then use the getVariable() method to obtain the parameter you passed in when you started the process.

The parameter mapping used in the nodes in the diagram is for mapping variables which are present in the diagram itself (Open the bpmn diagram's properties and there is a row for variables where you can add/remove variables used in the Parameter Mapping
--------------------------------------------------------------

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

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


More information about the jboss-user mailing list