JBoss Community

Re: passing data to nodes

created by Darryl Youngblood in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community