RetrieveEntity.ThrowIfNotExists Property

 

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

Sets whether the workflow should throw an exception if the entity record does not exist.

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

Syntax

[RequiredArgumentAttribute]
public InArgument<bool> ThrowIfNotExists { get; set; }
<RequiredArgumentAttribute>
Public Property ThrowIfNotExists As InArgument(Of Boolean)

Property Value

Type: System.Activities.InArgument<Boolean>

Type: InArgument
Indicates whether the workflow should throw an exception if the entity record does not exist.

Remarks

If not specified, this property is true by default.

See Also

RetrieveEntity Class
Microsoft.Xrm.Sdk.Workflow.Activities Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright