You set variable in a sub-process scope so this variable is not visible outside sub-process. Consider using signals in order to determine which exit condition you reach within your sub-process. Here is a simple example of mentioned approach SignalTest.bpmn (10.8 KB)