nerdexam
Salesforce

CRT-101 · Question #230

An administrator created a record trigger flow to update contacts. How should the administrator reference the values of the active record the flow is running on?

The correct answer is C. Use the $Record global variable. In a record-triggered flow, Salesforce automatically makes the triggering record available through the $Record global variable. You can reference any field on the record using $Record.FieldApiName (e.g., $Record.Id, $Record.StageName) without any additional configuration…

Workflow/Process Automation

Question

An administrator created a record trigger flow to update contacts. How should the administrator reference the values of the active record the flow is running on?

Options

  • AUse the {!Contact.Id} global variable.
  • BUse the {!Account.Id} record variable.
  • CUse the $Record global variable.
  • DUse the Get Records element to find the Id.

How the community answered

(36 responses)
  • A
    3% (1)
  • B
    6% (2)
  • C
    92% (33)

Explanation

In a record-triggered flow, Salesforce automatically makes the triggering record available through the $Record global variable. You can reference any field on the record using $Record.FieldApiName (e.g., $Record.Id, $Record.StageName) without any additional configuration. Option A uses merge field syntax (double curly braces with exclamation point), which belongs in formula fields or email templates, not flows. Option B references Account, which may not be the object the flow is running on. Option D (Get Records) would make a redundant SOQL query to retrieve data that $Record already provides.

Topics

#Salesforce Flow#Record-Triggered Flow#Flow Variables#$Record Global Variable

Community Discussion

No community discussion yet for this question.

Full CRT-101 Practice