Example #1
0
        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);
            }
        }
Example #2
0
        protected internal virtual void initializeBlocking(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context)
        {
            Task task = (Task)getDefinition(element);

            activity.setProperty("isBlocking", task.Blocking);
        }