Draft mode turns on upon Saveas of Screen flows with Pega 7.2.1
SummaryDraft mode turns on upon Save as of Screen flows into higher ruleset version in Pega 7.2 and 7.2.1.
Tested the same in Pega 7.2.2 and observed same behavior.
Prior to 7.2 when user creates the screen flow by default the draft mode is turn off and also when user save as the screen flow to higher ruleset version the draft mode is off .
But, from 7.2 if user create the screen flow, the draft mode is on by default and when user Save as the screen flow the mode is on.
Even when one turns off the draft mode in screen flow and saves the rule to higher version, it is getting on.
Error MessagesNot Applicable
Steps to Reproduce1. Create a screen flow(By default Draft Mode is ON).
2. Turn off the Draft mode.
3. Save As the screen flow to higher ruleset version.
Root CauseA defect in Pegasystems’ code or rules.
In Pega 7.2 as part of Bug Fix, the draft mode is defaulted to ON for screen flow.
This change is done in Out-of-the-box (OOTB) Rule-Obj-Flow Validate activity which is an available rule.
Perform the following local-change:
In OOTB Rule-Obj-Flow Validate activity 3rd step(Property-Set method) is added in Pega 7.2 version.
User can comment out this step or use it as per the requirement.
By applying the above local change by default the screen flow will be created with Draft mode OFF and if user Save As the screen flow the Draft mode will be OFF.
The fix introduced in Pega 7.2 version defaulted the draft mode in screen flow to ON which is expected.
But Save As should respect the mode of the original which is not happening, so a bug has been created for this and will be fixed in future release.
Published February 22, 2017 - Updated March 8, 2017