Boundary signal event attached to humanTask node within multiple Instance process is failing - Urgent help please.
arif.mohammed Apr 11, 2014 2:29 PMHi,
I have attached a Boundary Signal Event to a HumanTask node within a multiple process instance node, please find the attachment of process image(approval-process.pdf) and the BPMN file (approval-process.bpmn2)
Error: As depicted in the process image If I trigger "Terminate" Event, it is failing at org.jbpm.process.instance.impl.CancelNodeInstanceAction.java in execute method. I have attached debug window image(Debug.png), I have also attached the result of the query "select * from NodeInstanceLog order by log_date;" (TerminateEvent-Snapshot1.png and TerminateEvent-Snapshot2.png) before the event is triggered. As you can see from Debug window the value of nodeInstanceId is -1 and following is the snapshot of exception.
java.lang.RuntimeException: unable to execute Action: null
org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl.executeAction(ExtendedNodeInstanceImpl.java:74)
org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerEvent(ExtendedNodeInstanceImpl.java:58)
org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:46)
org.jbpm.workflow.instance.node.EventNodeInstance.triggerCompleted(EventNodeInstance.java:66)
org.jbpm.workflow.instance.node.EventNodeInstance.signalEvent(EventNodeInstance.java:50)
org.jbpm.workflow.instance.node.CompositeNodeInstance.signalEvent(CompositeNodeInstance.java:223)
org.jbpm.workflow.instance.node.CompositeNodeInstance.signalEvent(CompositeNodeInstance.java:228)
org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:362)
Note: As you can see from process image I have defined another boundary event "Terminate2". This event is working fine and the human task node is exiting properly. please check the attachment Terminate2-Event.png
Any quick help is appreciated.
-
approval-process.bpmn2.zip 6.0 KB
-
approval-process.pdf 26.8 KB
-
Debug.PNG 40.0 KB
-
TerminateEvent-Snapshot1.PNG 66.2 KB
-
TerminateEvent-Snapshot2.PNG 22.7 KB
-
Terminate2-Event.PNG 15.3 KB