Salesforce Decode
Salesforcedecode
Flow & Automation questionsQuestion 52 of 120
Flow & AutomationAdvancedTroubleshootingflowtroubleshootingrecord-locking

How do you update a parent record from a child flow without locking issues?

Scenario

Bulk inserting 50,000 Case Comments fails with UNABLE_TO_LOCK_ROW because a flow updates the parent Case each time.

Answer it out loud first

Serious prep means attempting before reading. Take two minutes to structure your answer, then compare.