No, that method, or something similar is not provided by the process APIs. We think that the process must continue the execution and when it's at a wait state you must have a mechanism to continue. Remember that you can also use signals for that.
By the way, I think that the only thing that you need is:
((RuleFlowProcessInstance)processInstance).getNodeInstances().
That method will return all the nodes that are in a wait states for that process instance.
So, is there something similar:
processInstance.findWorkItemsInWaitState()
that the framework provides?
--
View this message in context: http://n3.nabble.com/Resuming-the-Flow-SESSION-ID-PROCESS-INSTANCE-ID-WORKITEM-ID-tp607507p692996.html
Sent from the Drools - User mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users