ManualWorkflowSchedulerService.RunWorkflow(Guid) Method

Definition

Runs the specified workflow instance.

C#
public bool RunWorkflow(Guid workflowInstanceId);

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

Proizvod Verzije
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1