Updating from Pega Survey 7.2.2 or earlier: enabling the new Pega Survey features
For applications using Pega Survey, if you are updating from Pega 7.2.2 or earlier, update your application to use the latest survey features.
You cannot revert surveys to their original implementation after you adopt the rules and APIs that are provided in the Pega-Survey ruleset.
For each application that uses survey capabilities, repeat the following steps:
Remove the reference to the legacy PegaSurvey ruleset.
In the header of Dev Studio, click
to open the Application form.In the Application rulesets section, delete the entry for the PegaSurvey ruleset.
Click Save.
Update your overrides and custom rules that rely on standard rules that have been renamed to find rules with invalid references.
In the header of Dev Studio, click
.In the Select Application list, select the name of your application.
Click Run Validation.
Review the list of rules with invalid references, and resolve each invalid reference by performing one of the following actions:
Redirect the invalid reference to a valid rule in the Pega-Survey ruleset.
Because only prefixes were added to the names of standard rules, you can inspect the ruleset for a rule name that is similar to your invalid reference.
Recreate your override by copying the renamed version of the rule in the Pega-Survey ruleset.
Ensure that all references to your original override are redirected to your new override, before you delete the original override.
Manually review and update your application for references, such as Java steps in an activity, that are not detected by the validation tool.
Update the rules that support the surveys in your application.
In the header of Dev Studio, click
.Click Revalidate and Save.
In the Update Rule Forms dialog box, enter values in the fields to perform validation on the following classes:
Rule-PegaQ-Question
Rule-PegaQ-QuestionCollection
Rule-PegaQ-QuestionGroup
Rule-PegaQ-Questionnaire
For more information about the options that you can choose while running the Revalidate and Save tool, see the Pega Platform help.Find the surveys in your application that run on an embedded page instead of the context, or primary page, of the parent flow.
In the Application Explorer, expand Survey > Survey to display a list of surveys in your application.
Click a survey name to open the Survey form.
Click
to find the flow that calls your survey.Click the Open icon next to the flow name.
On the flow diagram, inspect the configuration of the Subprocess shape that calls your survey.
If the Define flow field is set to On embedded page, note the value in the Page property field.
Repeat steps b through f for each survey in your application.
If you do not have any surveys that run on embedded pages, you can skip this step. Customize the update utility so that it finds and edits the correct pages for in-flight surveys.
Find the Work-.pyUpdateSurveyProperties data transform by searching for it or by using the Application Explorer.
Save a copy of the rule to an unlocked ruleset version in your application.
On the Definition tab of the Data Transform form, use the Update Page action to set the current page to the embedded page that you noted from step 4.
Enclose the Update Page action with a When action if only some surveys run on the embedded page.
Repeat steps c and d for each embedded page that you noted from step 4.
Click Save.
Run the update utility for in-flight surveys.
In the header of Dev Studio, click
.Click Update Survey Work Objects.
In the Update survey work objects dialog box, select the check box next to each class that defines a survey.
Click Run utility.
Correct references to deprecated APIs.
For more information about deprecated APIs and the APIs that supersede them, see the release notes for Pega Platform 7.3.
Previous topic Identifying conflicts with rules that cannot be overridden by running the final rules conflict report Next topic Updating from Pega Platform version 7.2.2 or earlier: enabling notifications by updating access role names