[jboss-user] [jBPM] - Re: jBPM5 - How to abort a already running ProcessInstance?

scurvo do-not-reply at jboss.com
Mon Jan 17 13:51:06 EST 2011


scurvo [http://community.jboss.org/people/scurvo] created the discussion

"Re: jBPM5 - How to abort a already running ProcessInstance?"

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

--------------------------------------------------------------
I just followed the example BPMN2-ServiceProcess.bpmn2 to create a process that executes a given java class, and to test that example the following is done:
KnowledgeBase kbase = createKnowledgeBase("BPMN2-ServiceProcess.bpmn2");
StatefulKnowledgeSession ksession = createKnowledgeSession(kbase);
ksession.getWorkItemManager().registerWorkItemHandler("Service Task", new ServiceTaskHandler());

I assumed this would be the procedure to create a process that executes a given method of a given java class (as shown in the example).

I will continue reading the doc and try to use the Task Client.
Thank you so far  :)
--------------------------------------------------------------

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

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/20110117/e79d5e8e/attachment.html 


More information about the jboss-user mailing list