Salesforce Platform Developer I (legacy) — Question 82

What are three considerations when using the @InvocableMethod annotation in Apex? (Choose three.)

Answer options

Correct answer: A, B, E

Explanation

The correct answers, A, B, and E, highlight the requirement for the method to be static, the possible access modifiers, and the restriction on the number of such methods in a class. Options C and D are incorrect as the @InvocableMethod can only have one input parameter and does not require a return value.