Hi,
I have a problem while executing a sub-process. What I am trying to do is that when a sub-process executes i am setting its superprocess token and at the end of the execution I am setting the transition to end i.e if my Task is ti then I executes ti.end().
As soon as the sub-process reaches its end transition, it throws the following error:
ERROR [STDERR] org.jbpm.JbpmException: couldn't signal without specifying a leaving transition : transition is null.
If I do not set the superProcessToken in my code everything runs fine and i do not get any error on the console. I am not getting that by only setting the superProcessToken why i am getting this error. I am using jBPM version 3.2.3.
Please help.