[jboss-dev-forums] [jBPM Development] - How to retrieve unfinished tasks from process instance in jbpm 5
Mdu Keswa
do-not-reply at jboss.com
Thu May 24 09:45:10 EDT 2012
Mdu Keswa [https://community.jboss.org/people/mduk] created the discussion
"How to retrieve unfinished tasks from process instance in jbpm 5"
To view the discussion, visit: https://community.jboss.org/message/737684#737684
--------------------------------------------------------------
I've seen a couple of examples using BAM (I think jbpm graph uses this approach). There's also a Drools Fusion approach for more control. There used to be a way in jBPM 3.x:
ProcessInstance processInstance= getProcessInstance();
//get the task management instance of the process instance
TaskMgmtInstance taskManagementInstance = processInstance.getTaskMgmtInstance();
//find the unfinished tasks
Collection taskInstances = taskManagementInstance.getUnfinishedTasks(processInstance.getRootToken());
Is there a similar way in jBPM5?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/737684#737684]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120524/707690db/attachment.html
More information about the jboss-dev-forums
mailing list