Ejemplo n.º 1
0
        public virtual IList <string> Execute(CommandContext commandContext)
        {
            EnsureUtil.EnsureNotNull("executionId", ExecutionId);

            // fetch execution
            IExecutionManager executionManager = commandContext.ExecutionManager;
            ExecutionEntity   execution        = executionManager.FindExecutionById(ExecutionId);

            EnsureUtil.EnsureNotNull("execution " + ExecutionId + " doesn't exist", "execution", execution);

            CheckGetActivityIds(execution, commandContext);

            // fetch active activities
            return(execution.FindActiveActivityIds());
        }