IWorkflowEngine API: VB. NET Sample Code

  1.      ' Get WorkflowEngine Instance by Factory
  2.      Dim engine As IWorkflowEngine = WorkflowEngineFactory.GetInstance()
  3.      ' Get Repository Service
  4.      Dim repositoryService As IRepositoryService = engine.RespositoryService
  5.      ' Get Runtime Service
  6.      Dim runtimeService As IRuntimeService = engine.RuntimeService
  7.      ' Get Task Service
  8.      Dim taskService As ITaskService = engine.TaskService
  9.      ' Get Organization Service
  10.      Dim organizationService As IOrganisationService = engine.OrgaisationService
  11.      ' Get History Service
  12.      Dim historyService As IHistoryService = engine.HistoryService

 

Last edited Jun 26, 2012 at 3:43 AM by cathysung, version 1

Comments

No comments yet.