IWorkflowContext.WorkflowMode Property

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Indicates how the workflow is to be executed.

Namespace:   Microsoft.Xrm.Sdk.Workflow
Assembly:  Microsoft.Xrm.Sdk.Workflow (in Microsoft.Xrm.Sdk.Workflow.dll)

Syntax

int WorkflowMode { get; }
ReadOnly Property WorkflowMode As Integer

Property Value

Type: System.Int32

Type: Int32
Value = 0 (background/asynchronous), 1 (real-time).

Remarks

This property is obsolete.

See Also

IWorkflowContext Interface
Microsoft.Xrm.Sdk.Workflow Namespace
Create real-time workflows

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright