Soru

Zorluk: Çok zorLead Lifecycle and Lead Conversion

An enterprise health tech company automates its B2B qualification lifecycle. When a lead reaches a 'Qualified' state, an automated system process executes lead conversion. Place the following system processing phases and validation steps in the correct chronological sequence in which Salesforce executes lead conversion.

  1. 1Validation rules and Apex triggers evaluate on the Lead record prior to conversion.
  2. 2Target Account, Contact, and optional Opportunity record instances are populated using Lead custom and standard field mappings.
  3. 3Validation rules, Apex triggers, and workflow logic execute on the newly generated target Account, Contact, and Opportunity records.
  4. 4The original Lead record's Status field updates to a Converted picklist value and the Lead record becomes read-only.

Cevap

The correct sequence of lead conversion execution is: 1) Validation rules and Apex triggers evaluate on the Lead record prior to conversion, 2) Target Account, Contact, and optional Opportunity record instances are populated using Lead custom and standard field mappings, 3) Validation rules, Apex triggers, and workflow logic execute on the newly generated target Account, Contact, and Opportunity records, 4) The original Lead record's Status field updates to a Converted picklist value and the Lead record becomes read-only.
During Salesforce lead conversion, system execution follows a strict sequence: pre-conversion Lead rules evaluate first to ensure conversion eligibility. Next, standard and custom field mappings populate target Account, Contact, and Opportunity record instances. Then, target object validation rules and automation fire upon insertion. Finally, once all target operations succeed, the Lead record status updates to Converted and becomes read-only.

Adım Adım Çözüm

1
Evaluate Lead pre-conversion requirements
Lead validation rules and triggers verify that the Lead data is valid before conversion initiation can proceed.
If lead validation fails, conversion is halted before target records are initialized.
2
Perform Field Mapping and instantiate target objects
Salesforce applies custom and standard lead field mapping to populate attributes onto target Account, Contact, and Opportunity instances.
Target objects must be populated before database insertion and target object validation.
3
Execute Target Object Automation and Validation
Target records trigger their respective object-level automation (validation rules, triggers, flows) upon save.
Account, Contact, and Opportunity objects enforce their own system rules independently during creation.
4
Finalize Lead record conversion state
The originating Lead record is flagged as Converted and locked from further direct editing.
Lead lifecycle completion requires locking the lead to preserve data lineage and historical integrity.

Anahtar Kavram

Salesforce Lead Conversion Order of Execution
Tahmini Süre:3m 0s
Bu soruyu puanla