Determining profile preferences for Pega Next-Best-Action Advisor
Profile preference logic is a process that increases the weight of individual propositions. Customize the preference logic for Pega Next-Best-Action Advisor by creating questions, mapping them to offers, and then assigning weight to each question.
- In the Pega Customer Decision Hub portal, click .
- In the list of results, click Profile Preferences, and then click Save as.
- In the Configurations section, next to Alternate strategy, click Configure.
- In the Configure Alternate Strategy dialog box, click Create.
- Create your strategy:
- In the Strategy Record Configuration section, enter Determine profile preferences as the name of your strategy.
- In the Context section, ensure that the change applies to your ruleset.
- Click Create and open.
- In the Edit Strategy window, add the shape, and then double-click it.
- In the Set property properties dialog box, define the
attributes, as shown in the following figure:
Setting the latest updated time property dialog box - In the Name field, enter Set Latest Updated Time.
- Click Add item.
- In the Target field, enter .ProfileQuestionLastUpdated.
- In the Source field, use the Expression builder to enter D_ProfileQuestionList[ClassName: D_PMCExtension.SurveyClassName, Issue: D_PMC_Extension.ProfileQuestionsIssue, Group: D_PMC_Extension.ProfileQuestionsGroup].pxResults(1).pxUpdatedateTime.
- Click Submit.
- Connect the Set Property shape to the Results shape.
- Click Save, and then close the window.
- On the Profile Preferences page, next to Alternate strategy, click Configure.
- In the Configure Alternate Strategy dialog box, select the
new strategy:
- Click the Refresh icon.
- Remove the existing strategy by clicking Delete.
- Next to Determine profile preferences, click Add, and then click Apply.
- On the Profile Preferences page, click Save.
- Generate the data flow:
- Open the Determine profile preferences strategy by clicking it.
- On the Determine profile preferences strategy page, click .
- On the Referencing rules tab, click the strategy rule to ensure that it has a data flow record.
- If the data flow is not visible, close the strategy window.
- On the supporting decision page, click Edit, and then click Save.
- Repeat step 13.a to step 13.c.
- Create an example question and define the importance of the question (offer
weight):
- Add the Mobile preference category.For more information, see Configuring question categories.
- Create a profile question, for example, Do you prefer the
latest handset? with the following settings:
The profile preferences question dialog box - Name: Device Age
- Issue: Retention
- Group: Mobile
- Type: Mobile preference
- Channel: All
- Answers: Yes, No
- Create an offer weight in your own ruleset with the following
settings:For more information, see Mapping offer weight.
- Name: Device Age
- Issue: Retention
- Group: Mobile
- Offer: Samsung S6
- Question: Device Age
- Answer: No
- Offer Weightage: 5
- Add the Mobile preference category.
- Verify if the supporting decision is working.For more information, see Verifying supporting decisions for Pega Next-Best-Action Advisor.
Creating a profile preference question and an offer weight
- Tutorial: Configuring supporting decisions for Pega Next-Best-Action Advisor
Previous topic Enabling the search offer feature for Pega Next-Best-Action Advisor Next topic Verifying supporting decisions for Pega Next-Best-Action Advisor