+ Start a Discussion
Itay MaozItay Maoz 

Error when deploying beforesave flow

I am trying to deploy a lightning flow from a dev sandbox to a fullsandbox. Both are running the most up to date version SFDC. The deployment is failing and I'm getting the following error message: 


Because the TriggerType field has the value "RecordBeforeSave", you also need to set the following fields: SaveType.

I'm unsure how to set "SaveType" in a flow. 
Santosh Reddy MaddhuriSantosh Reddy Maddhuri

Hi Itay Maoz,

Please go through below article.Probabbly this is what is missing in your case.

https://salesforce.stackexchange.com/questions/295222/error-deploying-recordbeforesave-flows-to-another-org-using-sfdx

Thanks & Regards,

Santosh.