Exam4Training

What is the correct definition of the Apex method?

A Next Best Action strategy uses an Enhance Element that invokes an Apex method to determine a discount level for a Contact, based on a number of factors.

What is the correct definition of the Apex method?
A . @InvocableMethod
global static ListRecommendation getLevel(List<ContactWrapper> input)
{ /*implementation*/ }
B . @InvocableMethod
global static List<List<Recommendation>> getLevel(List<ContactWrapper> input)
{ /*implementation*/ }

C . @InvocableMethod
global List<List<Recommendation>> getLevel(List<ContactWrapper> input)
{ /*implementation*/ }
D . @InvocableMethod
global Recommendation getLevel (ContactWrapper input) { /*implementation*/ }

Answer: B

Latest PDI Dumps Valid Version with 191 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version