5 Replies Latest reply on Apr 22, 2014 1:21 AM by swiderski.maciej

    Boundary signal event attached to humanTask node within multiple Instance process is failing - Urgent help please.

    arif.mohammed

      Hi,

       

         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.