While Deploying the Schedule Trigger Flow I am getting the following error :
This flow can't reference $Record because its trigger type is None. Change the trigger type, change the flow global variable, or remove the flow global variable from this flow.
I am using the below package.xml
<types>
<members>FLOW_NAME</members>
<name>Flow</name>
</types>
I retrieved the flow using ANT from ORG1 and while Validating the the flow deployment in ORG2 I got the above error.
I also deactivated the flow version in ORG2 before doing the validation deployment, but still I am getting the error.