Question

Difficulty: MediumFlow Builder Elements and Logic

An administrator is building a record-triggered flow on the Case object to handle support routing. After executing a Get Records element to search for an active Service Level Agreement (SLA) record associated with the parent Account, the flow needs to branch its execution based on whether an SLA record was successfully retrieved.

Which Flow Builder configuration should the administrator use to determine if an SLA record was found?

  1. A Decision element configured with a condition evaluating if the SLA record variable Is Null equals FalseAnswer
  2. B
    A Loop element containing a Get Records element inside its iteration path to re-query for missing records
  3. C
    A Roll-Up Summary field element on the Case object evaluating the Account lookup relationship count
  4. D
    An Assignment element configured to set Record Type Picklist Assignment values to trigger automatic branching

Answer

A Decision element configured with a condition evaluating if the SLA record variable Is Null equals False
In Salesforce Flow Builder, a Decision element evaluates logical conditions to create execution branches. When a Get Records element runs, it stores retrieved data in a record variable. To verify if a record was found, administrators configure an outcome in a Decision element with the rule condition evaluating whether the record variable's 'Is Null' status equals False (or evaluating if the record variable ID Is Null equals False).

Step-by-Step Solution

1
Identify the requirement to evaluate the output of a Get Records data retrieval step in Flow Builder.
Recognize that a Get Records element populates a single record variable or collection variable.
Flow Builder requires explicit logic to verify if records were found before taking actions that depend on those records.
2
Select the appropriate Flow element for evaluating logical conditions and creating execution branches.
Choose a Decision element.
Decision elements evaluate resources against specified criteria to direct flow execution down distinct outcome paths.
3
Configure the outcome criteria using the global constant boolean operator for null checking.
Set the resource to the record variable, the operator to 'Is Null', and the value to '{!$GlobalConstant.False}'.
Evaluating 'Is Null equals False' confirms that the record variable contains data, indicating a successful query result.

Key Concept

Flow Builder Decision Elements and Null Check Validation
Estimated Time:1m 15s
Rate this question