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

Darryl Youngblood do-not-reply at jboss.com
Tue Sep 6 11:58:05 EDT 2011


Darryl Youngblood [http://community.jboss.org/people/d.y.] created the discussion

"Re: passing data to nodes"

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

--------------------------------------------------------------
I dont get it.

When i start my process i can start it with some params stored in a map, like:

Map<String, Object> params = new HashMap<String, Object>();
boolean examOK = false;
params.put("examOK", examOK);

ksession.startProcess("com.sample.bpmn.hello", params);

How can I access this map in a WorkItemHandler?

When i try it like u told me: 

workItem.getParameter("examOK") or workItem.getParameters().get("examOK") i always get null
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[http://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/20110906/a837144c/attachment.html 


More information about the jboss-user mailing list