1 Reply Latest reply on Nov 21, 2013 7:01 PM by Brian Wallis

    signalEevent from script node inside adhoc sub process

    Brian Wallis Master

      I've been using the following from a script node outside of an adhoc subprocess to activate a human task node inside the adhoc subprocess where the task name is "AddNoteTask".

          kcontext.getProcessInstance().signalEvent("AddNoteTask", null);


      I've moved that script node to a flow inside the adhoc subprocess and now it doesn't activate the "AddNoteTask" human task node when it is executed.


      Does kcontext refer to a different context when the script task is inside a sub process? How can I get this to work?


      I'm using JBPM 6.0.0.CR5