public ProcessExecutionService() { myProcessDefinitionService = new MyProcessDefinitionService(); delegateService = new DelegationService(); organisationService = (IOrganisationService)ServiceLocator.Instance.GetService(typeof(IOrganisationService)); taskRepository = TaskRepository.Instance; transitionRepository = TransitionRepository.Instance; processInstanceRepository = ProcessInstanceRepository.Instance; flowRepository = FlowRepository.Instance; }