Hi Cherokee, To answer your first question you can check the state of a workitem in its onExit action by:
import org.jbpm.workflow.instance.node.WorkItemNodeInstance import org.drools.runtime.process.WorkItem WorkItem workItem = ((WorkItemNodeInstance)kcontext.getNodeInstance()).getWorkItem(); System.out.println("State of the workitem " + workItem.getName() + " on exit is " + workItem.getState()); I hope it could be useful. Quevedo -- View this message in context: http://drools.46999.n3.nabble.com/RuleFlow-WorkItem-check-for-abort-tp2778938p3542291.html Sent from the Drools: User forum mailing list archive at Nabble.com. _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users