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, creating a step without configuring the view generates an error that is visible on the case life cycle, but you can still run the case type.
Turn off draft mode
Once processes 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. Guardrails are application design best practices that help reduce the risk of introducing issues. Guardrail violations 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: