QualifyLeadRequest.ProcessInstanceId Property

 

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

Gets or sets the ID of a business process flow instance running for the Lead record that should be set for the Opportunity record (created on qualifying the Lead record). Optional.

Namespace:   Microsoft.Crm.Sdk.Messages
Assembly:  Microsoft.Crm.Sdk.Proxy (in Microsoft.Crm.Sdk.Proxy.dll)

Syntax

public EntityReference ProcessInstanceId { get; set; }
Public Property ProcessInstanceId As EntityReference

Property Value

Type: Microsoft.Xrm.Sdk.EntityReference

The ID of a business process flow instance running for the Lead record.

Remarks

An entity record can have multiple business process flow instances running at the same time. When you have multiple business process flow instances for a Lead record, you can use this property to specify the business process flow instance that you want to set for the Opportunity record, which will be created on qualifying the lead record. If you do not specify a value for this property while qualifying a lead, by default, the business process flow instance that is currently active on the UI for the Lead record is set as the active record for the Opportunity record.

See Also

QualifyLeadRequest Class
Microsoft.Crm.Sdk.Messages Namespace
Model business process flows

Return to top

Microsoft Dynamics 365

© 2017 Microsoft. All rights reserved. Copyright