Share via


IDesktopUserActions.GetCurrentWorkflowState Method ()

 

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

Retrieves the current workflow state, if any. If no workflow is running, returns null.

Namespace:   Microsoft.Uii.Desktop.Core
Assembly:  Microsoft.Uii.Desktop.Core (in Microsoft.Uii.Desktop.Core.dll)

Syntax

WorkflowData GetCurrentWorkflowState()
Function GetCurrentWorkflowState As WorkflowData

Return Value

Type: Microsoft.Uii.Desktop.Core.WorkflowData

Running Workflow State or Null

Remarks

If more than one IWorkFlow HostedControl is registered, this will return only the last control in the list.

See Also

IDesktopUserActions Interface
Microsoft.Uii.Desktop.Core Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright