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

"Re: How to execute Service Task One by One"

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

--------------------------------------------------------------
Just move up this line: 
  ksession.getWorkItemManager().registerWorkItemHandler("WebServicesCall", new 
SearchBookHandler());

Something like this:

//Register Work Item Handlers:
ksession.getWorkItemManager().registerWorkItemHandler("validation", new 
SimpleWorkhandler());
ksession.getWorkItemManager().registerWorkItemHandler("WebServicesCall", new 
SearchBookHandler());

//Start first instance
Map<String,Object> params = new HashMap<String,Object>();
params.put("userName", " mailto:[email protected] [email protected]");
params.put("password", "jay123");
ksession.startProcess("com.sample.bpmn",params);

//start second instance
ksession.startProcess("com.sample.bpmn");


Best Regards,
--------------------------------------------------------------

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

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