Skip to main content

Table of Contents

Adding predictors to existing adaptive models

For new implementations of Pega Customer Decision Hub, when you save the Context Dictionary configuration, the journey predictors are automatically added to the adaptive models. If you are upgrading your application from version 8.5 or earlier, the predictors are not added automatically, and you must add them manually.

For more information about Context Dictionary, check Defining customer contexts for multilevel decisioning in Pega Customer Decision Hub.

You must add the predictors to the strategy models at two different levels: action and treatment.

  1. Log in as an operator with access to Dev Studio.

  2. In the navigation pane of Dev Studio, click Records Decision Strategy

  3. Select the strategy to which you want to add predictors

    • To add predictors to an action-level strategy model, select ActionModelImpl. The ruleset of the model should be Artifacts.
    • To add predictors to a treatment strategy model, select the treatments strategy, for example, WebTreatmentModelImpl. Every channel has a different treatment model.
  4. Right-click on Adaptive model component and choose Open Adaptive model.

  5. On the Predictors tab, click Check out Parameters Add parameter .

  6. Add the following parameters:

    • Journey
    • JourneyStage
    • LastJourneyStage
    • DaysinCurrentStage
    • PriorStageInJourney
  7. Make sure that the Data type for all added parameters is Text, and that Predictor type is set to Symbolic, as in the following figure:

    Adding parameters on the Predictors tab
    Adding predictors to action-level strategy model
  8. Click Save, and go back to your strategy.

  9. Right-click the Adaptive model component on the strategy canvas, and then click Properties.

  10. In the Parametrized predictors section, map values to parameters:

    1. To the Journey parameter map .pyJourney value.

    2. To the JourneyStage parameter map .pyStage value.

    3. To the Last Journey Stage parameter map .LastStage value.

    4. To the DaysinCurrentStage parameter map .DaysInCurrentStage value.

    5. To the PriorStageInJourney parameter map .PriorStageInJourney value.

    See the following figure for reference:
    Mapping values to parameters
    Adding properties to an adaptive model
Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us