I'm having a list of records which isn't related to any custom or standard object I need to pass it to Flow. how to pass the list of records from LWC to flow using in js-meta.xml and also help me what kind of flow resource I need to create so that I can bind the selected records to flow resource variable.
This what I have created in js-meta.xml:
<propertyType extends="SObject" name="T" label="Select SObject"/>
<property name="records2" type="{T[]}" label="Records U" />
and in flow I've created 'records2' resource as a collection variable.
I need to pass selected records from LWC to Flow but am stuck how to pass it.