Partager via


WorkflowData.SetPendingWorkflowData Method (String, Boolean)

 

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

Sets the pending workflow.

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

Syntax

public bool SetPendingWorkflowData(
    string pendingWorkflowData,
    bool showError
)
Public Function SetPendingWorkflowData (
    pendingWorkflowData As String,
    showError As Boolean
) As Boolean

Parameters

  • pendingWorkflowData
    Type: System.String

    Specifies the pending workflow xml

  • showError
    Type: System.Boolean

    True if errors are to be displayed, otherwise false.

Return Value

Type: System.Boolean

Type: Boolean
True if the workflow is set, otherwise false.

Remarks

This function used to be in in the Microsoft.Uii.Samples.HostedControlInterfaces as part of WorkflowData class. In the WfWorkflowControl this has been refactored out and replaced with a Serialization function.

See Also

SetPendingWorkflowData Overload
WorkflowData Class
Microsoft.Uii.Desktop.Core Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright