Token Movement in Sub-process

Hi,

I am trying to move a token in a subprocess. Initially the token was at task (Investigating the ticket) which were moved to “end(start before)”. Now as per my understanding as the previous task is cancelled and the subprocess is completed, the token should move to “ticket resolved”.

But it is not going and saying Cancelled externally. (I have attached the BPMN also)

Any help is appreciated.

Thanks,
Anmol
H_Subprocess3.bpmn (9.3 KB)

Hi @Niall … can you help in this please

Hello my friend!

I didn’t quite understand your problem… :neutral_face:

Where did you see that the task was “externally canceled”? :thinking:

Think that, if user tasks take time to complete (claim / complete)… your subprocess timer will be activated taking the instance to the “Scale to manager” task script and then ending the process… and your instance will disappear.

A tip that you can use to better check the behaviors is to place a user task right after each timer and after each script task, and use this as a “debug” of the cockpit, as this will force the instance to stop at this point, and you can check the variables created in the cockpit, for example, and have a better idea of what is happening.

William Robert Alves