protected boolean isLeaf ( ExecutionEntity execution ) { if ( CompensationBehavior . isCompensationThrowing ( execution ) ) { return true ; } else { return ! execution . isEventScope ( ) && execution . getNonEventScopeExecutions ( ) . isEmpty ( ) ; } }
event - scope executions are not considered in this mapping and must be ignored