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]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to