// launch a concurrent path of execution
String childExecutionName = transition.getName();
ExecutionImpl concurrentExecution = concurrentRoot.createExecution(childExecutionName);
concurrentExecution.setActivity(activity);
concurrentExecution.setState(Execution.STATE_ACTIVE_CONCURRENT);
concurrentExecution.take(transition);
if (concurrentRoot.isEnded()) {
break;
}
}