• Divy Dubey
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
I am calling a wrapper class fro visual Flow . Passing List of sobject type from the flow .
However on run time I am facing the below error :
A field wasn't found or isn't supported for Apex action controller_class : abc__c.sobjectType

I am using the below wrapper class for input , Is the custom object not allowed to call from visualflow:
 
@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;
    }