Deploy Active Processes and Flows Using Change Sets or Metadata API
Where: This change applies to Lightning Experience and Salesforce Classic in Essentials, Professional, Enterprise, Performance, Unlimited, and Developer editions.
How: You must opt in to deploy active processes and flows. From Setup, enter Process Automation Settings in the Quick Find box, then select Process Automation Settings. Select Deploy processes and flows as active.
When you deploy an active process or flow in a production org, Salesforce runs your org’s Apex tests and confirms that enough of your processes and flows have test coverage. Specifically, the Apex tests must launch at least 75% of the total number of active processes and active autolaunched flows in your org. The required percentage is the same as the code coverage requirement for Apex code. If the required percentage isn’t met, the deployment is rolled back.