protected internal override void initializeAutoComplete(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context) { PlanItemDefinition definition = getDefinition(element); if (definition is Stage) { Stage stage = (Stage)definition; activity.setProperty(PROPERTY_AUTO_COMPLETE, stage.AutoComplete); } }
protected internal virtual void initializeBlocking(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context) { Task task = (Task)getDefinition(element); activity.setProperty("isBlocking", task.Blocking); }