-1
Update_Interest_Subject_Type_Text_Field (Update Records) - 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.
force-app\main\default\flows\Update_Mass_Email_With_Covering_Professional_s_Business_Unit.flow-meta.xml      
Get_All_Mass_Email_Contacts (Get Records) - 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.               

force-app\main\default\flows\Update_Notes_and_Files_With_Account_s_Covering_Business_Unit.flow-meta.xml Get_Related_Account (Get Records) - 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.
force-app\main\default\flows\Update_Task_With_Related_Account_s_Covering_Business_Unit.flow-meta.xml Get_Related_Account (Get Records) - 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 getting the following error. I have not defined flow definition in package.xml and also there is no "flow definition" folder in the project. I don't have the flows in any orgs but only on gitlab.

4
  • We have a load of flows in our source tree that deploy fine. We did not include any "flow definitions" either. I would suggest you check the project's API version and the meta.xml for the flows. IIRC the flow XML is version specific but did not include a separate API version specification so falls back to that for the project.
    – Phil W
    Sep 18 at 15:40
  • this looks like a version issue between your flow's version and the MDAPI version you are using.
    – cropredy
    Sep 18 at 22:35
  • @cropredy thank you! yesterday
  • @PhilW thank you! yesterday

0

You must log in to answer this question.

Browse other questions tagged .