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.