Exemple #1
0
        /// <summary>
        /// 获取分支实例的个数
        /// </summary>
        /// <param name="splitActivityGUID">活动GUID</param>
        /// <param name="processInstanceID">流程实例ID</param>
        /// <returns>实例数目</returns>
        protected int GetInstanceGatewayCount(string splitActivityGUID,
                                              int processInstanceID)
        {
            ActivityInstanceManager aim = new ActivityInstanceManager();

            return(aim.GetInstanceGatewayCount(splitActivityGUID, processInstanceID));
        }
        /// <summary>
        /// 获取分支实例的个数
        /// </summary>
        /// <param name="splitActivityInstanceUID"></param>
        /// <param name="processInstanceUid"></param>
        /// <returns></returns>
        protected int GetInstanceGatewayCount(string splitActivityInstanceUID, string processInstanceUid)
        {
            ActivityInstanceManager aim = new ActivityInstanceManager(_serviceProvider);

            return(aim.GetInstanceGatewayCount(splitActivityInstanceUID, processInstanceUid));
        }
        /// <summary>
        /// 获取分支实例的个数
        /// </summary>
        /// <param name="splitActivityInstanceUID"></param>
        /// <param name="processInstanceUid"></param>
        /// <returns></returns>
        protected int GetInstanceGatewayCount(string splitActivityInstanceUID, string processInstanceUid)
        {
            ActivityInstanceManager aim = new ActivityInstanceManager(_dataAccessor, _loggerFactory);

            return(aim.GetInstanceGatewayCount(splitActivityInstanceUID, processInstanceUid));
        }