Jay Patel [
https://community.jboss.org/people/jay4smile] created the discussion
"Re: How to execute Service Task One by One"
To view the discussion, visit:
https://community.jboss.org/message/745658#745658
--------------------------------------------------------------
One by One means.
on Basis of loginStatus I want to execute another Service Task.
as per bpmn File. I have created Service Task for web Service.
on LoginStatus==true; I want to execute that.
to execute it I have written..
ksession.getWorkItemManager().registerWorkItemHandler("validation",
new SimpleWorkhandler());
//KnowledgeRuntimeLogger logger =
KnowledgeBuilderFactory.newFileLogger("test");
Map<String,Object> params = new HashMap<String,Object>();
params.put("userName", " mailto:jay4smile@yahoo.com
jay4smile(a)yahoo.com");
params.put("password", "jay123");
ksession.startProcess("com.sample.bpmn",params);
ksession.getWorkItemManager().registerWorkItemHandler("WebServicesCall",
new SearchBookHandler());
ksession.startProcess("com.sample.bpmn");
First Process executed Normally.
but for second process "webServicesCall"
I am getting Error Like "
bpm.workflow.instance.WorkflowRuntimeException: [com.sample.bpmn:1 - Web Service:2] --
Could not find work item handler for WebServicesCall
"
and I already Created the SearchBookHandler Class for WebServicesCall Service Task
I hope u understood!!
My Question is "How Can I execute Another Process or Processes??"
How to configure it??
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/745658#745658]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]