Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Applying the context weighting

Updated on August 4, 2022

Context weighting allows Pega Customer Decision Hub to consider the situational context for each action. For example, if a customer contacts the bank to close their card account, the highest-priority action is ensuring that the customer is retained. Because of that, the Retention issue should take priority for that customer.

Pega Customer Decision Hub
  1. In the Pega Customer Decision Hub portal, click Next-Best-Action DesignerArbitration.
  2. Click Edit.
  3. In the Context weighting section, click Add weighting.
  4. From the Keys list, select the type of key which holds the value used to evaluate the context:
    TypeDescription
    CurrentPageUse the current page which the customer is viewing for context. For example, if a known customer is currently viewing a page about loans, knowing this context may raise the priority of an action which belongs to the Cross-sell/up-sell issue and Loans group.
    PreviousPageUse the last page which the customer viewed for context.
    IntentUse the customer's stated intent for context.
    EventUse a real-time event detected by Pega Marketing or Pega Customer Decision Hub. For example, if a customer's mobile data is nearly used up, knowing this context may raise the priority of an new data plan offer for that customer.
    EventTypeUse a real-time event detected by Pega Marketing or Pega Customer Decision Hub.
    CallReasonUse the customer's stated call reason for context.
  5. In the Value field, enter the value of the key, for example, Cancellation.
  6. In the Issue/Group field, select the issue and group whose priority should be adjusted for the selected context.
  7. In the Weighting (+/-) field, enter the value by which the priority should be adjusted.

    To reduce the priority, enter a negative value.

  8. Ensure that the toggle in the upper right corner of the Context weighting section is set to on.
    If the toggle is inactive, the Next-Best-Action no longer takes context weighting into account when selecting the next best action for a customer.
  9. Click Save.
Result: The priority of all actions in the specified issue and group is increased or decreased by the specified value when the selected context is detected. In the figure below, the priority of the Cards group within the Retention issue is raised by 100% if the customer calls the bank with the intention to cancel their card. Next-Best-Action can then propose the appropriate retention actions, rather than, for example, actions related to cross-sell and up-sell.
Sample context weighting configuration

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us