// and trigger execution afterwards
if (superExecution!=null) {
superExecution.setSubProcessInstance(null);
try {
subProcessActivityBehavior.completed(superExecution);
} catch (RuntimeException e) {
log.log(Level.SEVERE, "Error while completing sub process of execution " + execution, e);
throw e;
} catch (Exception e) {
log.log(Level.SEVERE, "Error while completing sub process of execution " + execution, e);