Draft flow being used in UAT and not Prod
A flow in draft mode is being used in UAT, but in Production environment gives an error stating that flow is in draft mode.
Draft flow cannot be executed
Steps to Reproduce
- Create a flow in draft and migrate it to UAT environment.
- Call the flow. Observe if the flow is executed.
- Migrate the same flow into Production.
- Again call the flow and the error appears.
A Draft-mode flow will execute in an environment where the Production level setting is less than 5.
The UAT environment had a Production level of 4 while the Production environment had a level of 5.
This accounted for the different handling of the draft-mode flow rules in the two environments.