What are three considerations when using the @InvocableMethod annotation in Apex?
Choose 3 answers
Suggested Answer: C, D, E
Get Premium DEX-450 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
13 comments · newest first
BR
Brent
12 months ago
Agree, return value is a must for @InvocableMethod.
VA
Valentin
12 months ago
Surprised that only one method per class is allowed!
LI
Lilli
12 months ago
Definitely need to declare it as static!
GE
Gene
1 year ago
I thought it could have multiple input parameters?
HA
Harris
1 year ago
A method using @InvocableMethod can be public or global.
EM
Emmanuel
1 year ago
I definitely remember that only one @InvocableMethod can be defined per class, but I’m not sure if that’s a strict rule or just a best practice.
ER
Ernest
1 year ago
I practiced a question similar to this, and I think it can be declared as Public or Global, but I might be mixing it up with another annotation.
NI
Nicolette
1 year ago
I remember something about input parameters, but I can't recall if it can have multiple ones or just one.
ST
Stevie
1 year ago
I think the @InvocableMethod needs to be static, but I'm not completely sure if it has to return a value or not.
SH
Shonda
1 year ago
I'm feeling pretty confident about this one. The key is that the module needs to use the "provides" directive to specify the implementation class for the Print service. Option B looks like the correct answer.
FE
Felicitas
1 year ago
I think the BGP neighbor stays in idle if prefixes aren't received, but I'm not entirely sure. It feels like I covered that in class.
LE
Lemuel
1 year ago
This seems like a straightforward question about configuring Dynamics 365 to prevent invalid account and dimension combinations. I'm pretty confident I can figure this out.
NA
Nana
1 year ago
I'm feeling a bit lost on this one. The wording of the question is a bit confusing to me. I'll need to re-read it a few times to make sure I understand what they're asking.