hello,
i have a (main) process which looks like following (only the relevant snippet):

and the called process looks like

But this don't work. I got a NullPointerException in
org.camunda.bpm.engine.impl.bpmn.behavior.BpmnActivityBehavior#performOutgoingBehavior from
String defaultSequenceFlow = (String) execution.getActivity().getProperty("default");
because the subprocess activity is already deleted (execution.deleteReason is "Cancel scope activity Activity(BoundaryEvent_3) executed." and execution.activity is null).
Is this in general a broken process design? Or what is the best way to deliver a result from a callactivity to the parent process?
Is this only with process variables possible?
regards
msc