nerdexam
Salesforce

CRT-450 · Question #125

A Salesforce Administrator is creating a record-triggered flow. When certain criteria are met, the flow must call an Apex method to execute complex validation involving several types of objects…

The correct answer is C. @InvocableMethod. See the full explanation below for the reasoning.

Question

A Salesforce Administrator is creating a record-triggered flow. When certain criteria are met, the flow must call an Apex method to execute complex validation involving several types of objects. When creating the Apex method, which annotation should a developer use to ensure the method Can be used within the flow?

Options

  • A@future
  • B@RemoteAction
  • C@InvocableMethod
  • D@AuraEnaled

How the community answered

(25 responses)
  • A
    12% (3)
  • B
    4% (1)
  • C
    76% (19)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full CRT-450 Practice