Skip to main content


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

Configuring Pega Customer Service to use Pega Customer Decision Hub for suggested actions

Updated on January 29, 2021

To configure Pega Customer Service to use Pega Customer Decision Hub for suggested actions, complete the following procedures.

Pega Customer Service Implementation Guide Pega Customer Service Implementation Guide Pega Customer Service Implementation Guide Pega Customer Service Implementation Guide

Setting up context data by using the MapContext data transform

To receive the next best actions from Pega Customer Decision Hub for certain conditions, you need to send the context data to Pega Customer Decision Hub. You can build the condition to replicate the intent criteria by using a combination of the parameter type, key, and values in the MapContext data transform.

  1. In the header of Dev Studio, search for and click the MapContext data transform.
  2. To add a row, on the Definitions tab, click the Add icon.
  3. From the Action list, select Set.
  4. In the Target field, select the type, key, and value parameter categories.
  5. In the Source field, enter the relevant parameter values.

    For more information about how to set up data in the data transform, see Data Transform form - Completing the Definitions Tab. To extend this functionality in your Pega Customer Service implementation layer, use the CSMapAdditionalContext data transform.

Mapping properties for the next best actions sent by Pega Customer Decision Hub

Note: Before performing this step, configure Pega Customer Decision Hub to receive data from the MapContext data transform.

To populate the next best actions determined by Pega Customer Decision Hub in Pega Customer Service, configure the target properties, such as class name and flow name, in the MapActionProperties table.

  1. In the header of Dev Studio, search for and click the MapActionProperties decision table.
  2. Click the Results tab and expand Additional Allowed Results.
  3. Define a list of Target Property and Value pairs for .ClassName, .FlowName, .PeekAheadEnabled, .pyImage, and .ActionType.
    Note: Action Type is an additional property that you should map to the action with one of the following values: Launch, Queue, or Suggest. The default value for Action Type is Suggest.

    For more information on how to configure the target properties in MapActionProperties, see Decision Table Form - Completing the Results tab.

Optional: Conditionally mapping an Action ID to different Action Types

There might be cases in which the same ActionID should map to different action types in different scenarios.

In such cases, use the UpdateActionType data transform to set the ActionType based on a When condition so that the system invokes the actions only when the specified conditions are true.

For more information on how to conditionalize data transform actions by using When actions, see Data Transform form - When, Otherwise, and Otherwise When actions.

  • Previous topic Implementing suggested actions by using Pega Customer Decision Hub
  • Next topic Configuring Pega Customer Decision Hub for conditional processing

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