Before closing this chapter, please take note of some of the limits that flows have (as of the Winter 2020 release – some depend on your Salesforce edition):
- Max number of paused/waiting flows: 30,000-50,000.
- Max UI flows per monthly executions: 2,000-20,000,000.
- Max non-UI flows per monthly executions: 10,000,000-10,000,000,000.
- Versions per flow: 50.
- Total flows: 5-4,000 per flow type.
- When a flow is added to a Lightning page, don't add an action (such as a record edit) before the first screen element; this will help you avoid unwanted actions being performed without the user actually being aware of them.
- When using change sets or the metadata API, a flow is deployed in an inactive state (and users can't run it), so remember to activate flows if a Lightning page contains a flow after its deployment.
- When a flow is used within a Lightning...