[jboss-user] [jBPM] - Re: How to get WorkItemHandler results
out sider
do-not-reply at jboss.com
Fri Feb 24 11:58:56 EST 2012
out sider [https://community.jboss.org/people/out_sider] created the discussion
"Re: How to get WorkItemHandler results"
To view the discussion, visit: https://community.jboss.org/message/719572#719572
--------------------------------------------------------------
Process deisgner?
I'm simply doing:
KnowledgeBase kbase = readKnowledgeBase(pack, title);
StatefulKnowledgeSession ksession = kbase.newStatefulKnowledgeSession();
LoginWorkItemHandler loginHandler = new LoginWorkItemHandler();
ksession.getWorkItemManager().registerWorkItemHandler("Login", loginHandler);
ProcessInstance process = ksession.startProcess("mg.login");
I create the knowledge base and session and register the WorkItemHandler with the manager.
Then I start the process.
After ksession.startProcess I want to acess the result of the LoginWorkItemHandler that I added to the map....how can I do that?
I just want to run a process with a WorkItemHandler and acess after its executation to the result...nothing more.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/719572#719572]
Start a new discussion in jBPM at Community
[https://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/20120224/ffbadc4e/attachment-0001.html
More information about the jboss-user
mailing list