You need to sign in to do that
Don't have an account?
Baz Denson
What is this expecting? List?
What type is this apex class/method expecting?
public static void SendEmail(emailParam[] emailParams)
What is this expecting? List?
Documentation:
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_collections_lists.htm#array_methods
All Answers
Documentation:
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_collections_lists.htm#array_methods
I was trying to send a list but got the following error
Method does not exist or incorrect signature: void SendEmail(List<String>) from the type joinforce.sendEmailInvocable
The issue you're having is that a List<String> is not compatible with a List<emailParam>.