When creating the Apex method, which annotation should a developer use to ensure the method Can be used within the flow?
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?
A . @future
B. @RemoteAction
C. @InvocableMethod
D. @AuraEnaled
Answer: C
Latest PDI Practice Questions with 191 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments