← All technical insights

Collect evidence before changing a Flow

Start with the failed transaction, Flow version, error text, affected user and record context. Error notifications or available failed-interview details can identify the failing element. Reproduce the problem with authorized test data in a sandbox; avoid repeatedly triggering live customer actions just to investigate.

1. Missing required fields

A Create Records or Update Records element may omit a required value. Check the actual record variable, required fields and record type, including fields enforced by business logic. Populate the missing value only when it is valid for the process; otherwise add a controlled decision or user-facing correction.

2. Validation rule failures

Read the validation condition and identify why the proposed change violates it. Compare the input values to the rule's requirements, rather than disabling the rule globally. Correct the automation or agree on a narrowly scoped, approved exception if one is justified.

3. Empty record or null value

A Get Records operation may return nothing. Add a Decision to handle the empty result before referencing fields or updating a record. Test both matching and nonmatching inputs, including optional fields.

4. Insufficient access

Determine the Flow type and execution context, then examine the relevant object's permissions, field access and record sharing. A successful administrator debug session does not prove an end user can run the process. Test with a representative account and avoid broad privilege grants.

5. Too many queries or updates

Look for repeated database operations inside loops and automation that performs overlapping work in a transaction. Where appropriate, gather records into collections and perform grouped operations. Test realistic bulk input and inspect logs to understand which automation contributes to resource usage.

6. Conflicting automation or repeated execution

Inventory active Flows, triggers and other automation affecting the same object. Look for updates that re-enter a process or conflicting field assignments. Use specific entry criteria, change detection and a documented execution design rather than a blanket bypass.

7. External action or integration failures

Review the failing action's input, endpoint configuration, authentication and response details without exposing credentials. Distinguish a transient service issue from a permanent configuration error. Use appropriate fault handling, escalation and safe retry design so actions such as notifications are not duplicated.

Test the fix and fault path

Cover the successful path, default outcome, invalid input and realistic bulk behavior. Document expected results, confirm the correct version is deployed after approval, and verify that failure notifications reach the responsible owner.

Practical checklist

  • Record the error and active version
  • Identify failing element and execution context
  • Reproduce with safe test records
  • Test success, default and failure paths

Explore the next step

Related Zenithlane consulting service · Explore the interactive Flow playground

For scoped help with your environment, request a consultation.

Official Salesforce references

Related articles