You need to sign in to do that
Don't have an account?
Paul Redmond 7
Passing multiple Ids From a flow to InvocableMethod
Hi. I have a flow & I'm trying to pass a list of selected Ids to an Invocable Method that takes List<String> ids as a parameter.
When creating the Resource (Text variable, available for input) as "Allow multiple values (collection)" I get the error that "The data type of the resource you entered isn't compatible." when trying to set the input variable as that resource.
I tried setting the resource with unchecking the "allow mutliple values" and in my method I only get the single string.
Is it possible to pass a list of ids into the method or is this limited to a single value?
Thanks
When creating the Resource (Text variable, available for input) as "Allow multiple values (collection)" I get the error that "The data type of the resource you entered isn't compatible." when trying to set the input variable as that resource.
I tried setting the resource with unchecking the "allow mutliple values" and in my method I only get the single string.
Is it possible to pass a list of ids into the method or is this limited to a single value?
Thanks
You may need to concatenate all the string usin some limitor and send as single parameter and then you can split the string based on split function on the string.
The same is done in the question below. Can you check this.
https://developer.salesforce.com/forums/?id=9060G0000005nrjQAA
If this solution helps, Please mark it as best answer.
Thanks,
All Answers
You may need to concatenate all the string usin some limitor and send as single parameter and then you can split the string based on split function on the string.
The same is done in the question below. Can you check this.
https://developer.salesforce.com/forums/?id=9060G0000005nrjQAA
If this solution helps, Please mark it as best answer.
Thanks,
Cheers