When you create a case type in App Studio, by default all processes you configure are created in draft mode. Draft mode allows you to quickly run the case type to check the run-time behavior even with incomplete configurations. For example, a connector may be missing a flow action because the view for a step is undefined at the time.
Turn off draft mode
Once flows are completed, before an application can be released to production, draft mode must be turned off on all process flows. Failure to do so results in a guardrail violation. The guardrail can be ignored during development, but must be resolved prior to production release.
Review case type errors
App Studio displays a list of errors in your case type that you must resolve before draft mode is automatically turned off. You can only manually turn off draft mode from Dev Studio. When you save a case type in App Studio, Pega Platform™ automatically switches off draft mode for processes that do not contain configuration issues.
In the center of the following image, slide the vertical line to view the error details.
Check your knowledge with the following interaction: