Guest User

Untitled

a guest
Apr 26th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. Public Shared Sub DoWithWorkflow(ByVal workflowId As Guid, ByVal action As Action(Of WorkflowRuntime))
  2. action(Current)
  3. Dim scheduler = Current.GetService(Of ManualWorkflowSchedulerService)()
  4. If scheduler IsNot Nothing Then
  5. scheduler.RunWorkflow(workflowId)
  6. End If
  7. End Sub
Add Comment
Please, Sign In to add comment