Пример #1
0
        /// <summary>
        /// 获取第一可办理节点的执行人
        /// </summary>
        /// <param name="processId"></param>
        /// <returns></returns>
        public IList <Participant> GetFirstActivityParticipants(string processId, string billUid)
        {
            _processModel = new ProcessModel(_dataAccessor, _loggerFactory, processId, billUid);
            var firstActivity = _processModel.GetFirstActivity();

            return(_processModel.GetActivityParticipants(firstActivity.ActivityID));
        }
Пример #2
0
        /// <summary>
        /// 获取第一可办理节点的执行人
        /// </summary>
        /// <param name="processId"></param>
        /// <returns></returns>
        public IList <Participant> GetFirstActivityParticipants(string processId, string billUid)
        {
            _processModel = new ProcessModel(_serviceProvider, processId, billUid);
            var firstActivity = _processModel.GetFirstActivity();

            return(_processModel.GetActivityParticipants(firstActivity.ActivityID));
        }