CmmnActivity activity = execution.getActivity();
Object repetitionRule = activity.getProperty(PROPERTY_REPETITION_RULE);
if (repetitionRule != null) {
CaseControlRule rule = (CaseControlRule) repetitionRule;
rule.evaluate(execution);
// TODO: set the value on execution?
}
}
protected void ensureTransitionAllowed(CmmnActivityExecution execution, CaseExecutionState expected, CaseExecutionState target, String transition) {