QualifyLeadRequest.ProcessInstanceId Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
property Microsoft::Xrm::Sdk::EntityReference ^ ProcessInstanceId { Microsoft::Xrm::Sdk::EntityReference ^ get(); void set(Microsoft::Xrm::Sdk::EntityReference ^ value); };
public Microsoft.Xrm.Sdk.EntityReference ProcessInstanceId { get; set; }
member this.ProcessInstanceId : Microsoft.Xrm.Sdk.EntityReference with get, set
Public Property ProcessInstanceId As EntityReference
Property Value
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.