PDI · Question #86
PDI Question #86: Real Exam Question with Answer & Explanation
The correct answer is B: Add a new Create Records element.. To create a new Contact record within an existing flow, the developer must add a 'Create Records' element to handle the insertion of the new Contact into the database.
Question
n org has an existing flow that creates an Opportunity with an Update Records element. A developer must update the flow to aiso create a `Contact and store the created Contact's 1D on the Opportunity. Which update must the developer make in the flow?
Options
- AAdd a new Get Records element.
- BAdd a new Create Records element.
- CAdd a new Update Records element.
- DAdd a new Roll back Records element
Explanation
To create a new Contact record within an existing flow, the developer must add a 'Create Records' element to handle the insertion of the new Contact into the database.
Common mistakes.
- A. A
Get Recordselement retrieves existing records from the database; it does not create new ones. - C. An
Update Recordselement modifies existing records; it cannot be used to create a newContactrecord from scratch. - D. A
Roll back Recordselement is used in transaction control to revert changes made within a specific path of a flow if an error occurs; it does not create or update records.
Concept tested. Salesforce Flow Create Records element
Reference. https://help.salesforce.com/s/articleView?id=sf.flow_ref_elements_data_create.htm&type=5
Topics
Community Discussion
No community discussion yet for this question.