Redigeeri

Jagamisviis:


ManualWorkflowSchedulerService.RunWorkflow(Guid) Method

Definition

Runs the specified workflow instance.

public:
 bool RunWorkflow(Guid workflowInstanceId);
public bool RunWorkflow (Guid workflowInstanceId);
member this.RunWorkflow : Guid -> bool
Public Function RunWorkflow (workflowInstanceId As Guid) As Boolean

Parameters

workflowInstanceId
Guid

The Guid for the workflow instance to run.

Returns

true if the workflow starts running; otherwise, false.

Exceptions

workflowInstanceId is an empty GUID.

Remarks

This is a synchronous call that uses the current thread to run the workflow. It does not return until the workflow idles, suspends, completes, terminates, or aborts.

Applies to