Draft mode is only used in lower environments because it allows you to run flows for testing purposes before all of the rules are in place. For example, I can save and run a flow in a development environment before I have finished creating all of the flow actions. In a Production environment, all of the rules need to be in place so the work objects can be processed completely.
Thank you for the quick response. I agreed on the statement that all the rules (i.e Flow action) has to be in Place before sending the Flow to PROD. but just curious to know why it is only not working where PROD level is 5. Is there any System Settings or DSS Pega is currently using for this check ?
The property pyDraftModeON is true for flows with Draft mode on. Considering that the production level 5, indicates a production system, with highest security and the system is not allowed to have any kind of experimental flows. The property pzProductionLevel in the pxProcess System Page, holds the production level of the instance.