SPWorkflowRunOptions Enumeration

Describes options for running a workflow instance.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public enum SPWorkflowRunOptions

Member nameDescription
SynchronousRun the workflow instance synchronously. This is the default.
SynchronousAllowPostponeTry to run the workflow instance synchronously. If the synchronous start fails, fall back to asynchronous.
AsynchronousDo not allow the workflow instance to run synchronously.