Hi there,
I have a workflow which looks very similar to the first example in the event subprocess documentation page for meal preparation.
I have a subprocess containing both a main flow (‘choose recipe’ and ‘prepare meal’) and an event subprocess that can be called n times just like the “include guest” one in the example.
My issue right now is to be able to prevent the termination of the ‘prepare meal’ task as long as i have an ‘include guest’ subprocess active (ie I have an unfinished ‘take new guest into account’ task).
Is there a way to do this ? I thought of adding a gateway after the ‘prepare meal’ task that could check if an event subprocess exists in which case it would loop back to the ‘prepare meal’ task but I have no clue as to how to write this condition.
Any help would be much appreciated.
Thanks in advance,
Laurent.