Mapping an action to an intent task
Pega Retail Advisor displays next-best-action suggestions received from Pega Customer Decision Hub. For each of these suggestions, Pega Customer Decision Hub sends an ActionID. When the associate clicks a suggestion, Pega Retail Advisor runs the intent task class and flow that are mapped to the ActionID of the received action.
- In the header of Dev Studio, click .
- Click the Update button.
- Save the decision table in your implementation ruleset. For more information, see Decision Tables.
- In the ActionID column, enter the recorded ActionID that you want to map to an intent task. For more information, see Defining Pega Retail Advisor actions and containers.
- In the Return column, select the result for which you want to configure the mapping.
- Click the Results tab and then expand the Additional Allowed Results. When selected, each target property will be assigned the value specified section.
- Follow the examples and complete the necessary fields for each result.
- In the Result field, enter the name of the result that you selected in step 5.
- In the Value column, enter a value for each of the following
target properties:
- .ClassName - name of the intent task class that you created in Creating a service intent task class
- .FlowName - name of the intent task flow that you created in Creating a service intent task flow
- .PeekAheadEnabled - true or false to enable or disable the peek-ahead feature
- .pyImage - path to the file containing an image for the action
Previous topic Creating a service intent task flow Next topic Associating an action with a container