/// <exclude />
        public void ExecuteAction(EntityToken entityToken, ActionToken actionToken)
        {
            var flowControllerServicesContainer = GetFlowControllerServicesContainer();

            IActionExecutionService actionExecutionService = flowControllerServicesContainer.GetService <IActionExecutionService>();

            var taskManagerEvent = new WorkflowCreationTaskManagerEvent(_instanceId);

            actionExecutionService.Execute(entityToken, actionToken, taskManagerEvent);
        }
Example #2
0
        /// <exclude />
        protected void ExecuteAction(EntityToken entityToken, ActionToken actionToken)
        {
            FlowControllerServicesContainer flowControllerServicesContainer = WorkflowFacade.GetFlowControllerServicesContainer(WorkflowEnvironment.WorkflowInstanceId);

            IActionExecutionService actionExecutionService = flowControllerServicesContainer.GetService <IActionExecutionService>();

            var taskManagerEvent = new WorkflowCreationTaskManagerEvent(_instanceId);

            actionExecutionService.Execute(entityToken, actionToken, taskManagerEvent);
        }