@InvocableMethod(label = 'Invoke test')
public static List<FlowInputsRslt> invokeTest(List<FlowOutputs> request)
{
}
public class FlowOutputs
{
@InvocableVariable
public String Details;
@InvocableVariable
public List<abc__c> Rec;
}
2 respuestas
Calling method from flow of type wrapper class with a propery of type list sobjecttype i.e List abcRec. However it fails and give the below errorA field wasn't found or isn't supported for Apex action . In flow I am passing the variable of type abc__c with Allow multiple values (collection) enabled.If I replace the same with sobjecttype i.e List it works however in that case I am unable to deploy the same..And get the below error : (Action) - Apex action "controller class" is missing the value for type mapping "abcRec".