IRepositoryServiceAPI: VB .NET Sample Code

  1.        ' Use ID to get IProcessDefinition
  2.         Dim processDefinitionId As String = "83CEDA43-0E89-4F57-95D7-553FCF721A38"
  3.         Dim definition As IProcessDefinition = repositoryService.GetProcessDefinition(processDefinitionId)
  4.        ' Use process definition name to get IProcessDefinition
  5.         Dim processDefinitionName As String = "Ask for leave"
  6.         definition = repositoryService.GetProcessDefinitionByName(processDefinitionName)

Last edited Jun 13, 2012 at 3:24 AM by cathysung, version 1

Comments

No comments yet.