IWorkflowEngine API: C# Sample Code  

1.        // Get WorkflowEngine Instance by LFactory

2.        IWorkflowEngine engine = WorkflowEngineFactory.GetInstance();

3.        // Get Repository Service

4.        IRepositoryService repositoryService = engine.RespositoryService;

5.        // Get Runtime Service

6.        IRuntimeService runtimeService = engine.RuntimeService;

7.        // Get Task Service

8.        ITaskService taskService = engine.TaskService;

9.        // Get Organization Service

10.      IOrganisationService organizationService = engine.OrgaisationService;

11.      // Get History Service

12.      IHistoryService historyService = engine.HistoryService;

Last edited Jun 26, 2012 at 3:44 AM by cathysung, version 2

Comments

No comments yet.