Exam CRT-450 Topic 3 Question 10 Discussion
Actual exam question for Salesforce's CRT-450 exam
Question #: 10
Topic #: 3
Question #: 10
Topic #: 3
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?
When creating the Apex method, which annotation should a developer use to ensure the method Can be used within the flow?
Suggested Answer: C Vote an answer
The @InvocableMethod annotation is used to identify a method in an Apex class that can be called from a flow, a bot, or an NBA strategy. It is a helpful annotation to provide a seamless admin-friendly way to call the Apex code using simple flows. Invoking Apex from flow is a significant option for providing design patterns that can solve many business problems while also providing great user experience. The other annotations are not suitable for this scenario, as they have different purposes and limitations. For example, the @future annotation is used to execute a method asynchronously, the @RemoteAction annotation is used to expose a method to a Visualforce page, and the @AuraEnabled annotation is used to enable a method to be called from a Lightning web component or an Aura component. References: Annotations, How to Invoke Apex from Flows Using InvocableMethod Annotation, Salesforce Flow
by Silvester at Jun 24, 2026, 11:57 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).