Esempio n. 1
0
        public FlowActionResult processNextAction()
        {
            var req = FlowActionHelper.GetFirstUnprocessedRequest();

            if (req == null)
            {
                return(null);
            }

            return(processAction(req));
        }
Esempio n. 2
0
        public FlowActionResult processNextActionOfSpecifiedInstance(
            int flowInstanceId, EnumFlowActionRequestType[] flowActionRequestTypes)
        {
            var req = FlowActionHelper.GetFirstUnprocessedRequest(
                flowInstanceId, flowActionRequestTypes);

            if (req == null)
            {
                return(null);
            }

            return(processAction(req));
        }