Exam4Training

Which is the correct definition of the Apex method that gets additional information?

A Visual Flow uses an apex Action to provide additional information about multiple Contacts, stored in a custom class, contactInfo.

Which is the correct definition of the Apex method that gets additional information?
A . @InvocableMethod(label=’Additional Info’) public List<ContactInfo> getInfo(List<Id> contactIds) { /*implementation*/ }
B . @InvocableMethod(label=’additional Info’)
public static ContactInfo getInfo(Id contactId)
{ /*implementation*/ }
C . @invocableMethod(label)=’Additional Info’)
public static List<ContactInfo> getInfo(List<Id> contactIds)
{ /*Implementation*/ }

D . @InvocableMethod(Label=’additional Info’)
public ContactInfo(Id contactId)
{ /*implementation*/ }

Answer: C

Latest PDI Dumps Valid Version with 191 Q&As

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

Exit mobile version