Пример #1
0
        public void CheckStartProcessInstance(Guid authenticatedActorId, Guid processDefinitionId, IDictionary <string, object> attributeValues, string transitionName)
        {
            IAuthorizationHandler authorizationHandler = GetHandlerFromProcessDefinitionId(processDefinitionId);

            if (authorizationHandler != null)
            {
                authorizationHandler.CheckStartProcessInstance(authenticatedActorId, processDefinitionId, attributeValues, transitionName);
            }
        }
Пример #2
0
        public void CheckStartProcessInstance(String authenticatedActorId, Int64 processDefinitionId, IDictionary attributeValues, String transitionName, DbSession dbSession)
        {
            IAuthorizationHandler authorizationHandler = GetHandlerFromProcessDefinitionId(processDefinitionId, dbSession);

            if (authorizationHandler != null)
            {
                authorizationHandler.CheckStartProcessInstance(authenticatedActorId, processDefinitionId, attributeValues, transitionName);
            }
        }