This content has been marked as final.
Show 2 replies
-
1. Re: How can I get a value from Task in jBPM
marshalslee Aug 6, 2014 9:40 AM (in response to redbees)I think you must get TaskService Object first.Then query active task by TaskService.
-
2. Re: How can I get a value from Task in jBPM
redbees Aug 7, 2014 2:46 AM (in response to marshalslee)Thanks for your suggestion but I try another way:
WorkflowProcessInstance instance = (WorkflowProcessInstance) ksession.startProcess("pics", params);
Object returnValue = (Object) instance.getVariable("result");
And it's worked.