I am attempting to put a custom lightning component into a flow, and I need a record collection variable. The problem is that I don't know what object the record collection variable is, and flows don't support the "Object" type. What can I do to make it dynamic, or is there no way?
Lightning aura component attribute of data type
Object has some bug - properties of Object does not update in some cases. Instead other types like
MyObject__c works fine.
Other completely generic data types which work fine are
- List is array of any data type.
- Map is Key-value pairs of any data-types. It is better if key is of type String.
You can define the type as
List and try.