Creating a test strategy for selecting actions
Testing the lower strategies in the NBA Strategy Framework requires that you create a strategy that includes the set of actions against which to test.
Pega Customer Decision Hub
Since the trigger strategy is the source of action data for
the framework, it is best to create a modified version of the trigger to provide the actions
needed for the NBA Strategy Framework tests.
- In the Customer Decision Hub portal, click .
- Open the Trigger_NBA_TopLevel strategy.
- Click Save As and change the label to be the name of the test strategy, for example, External Input Test.
- Ensure that [No branch] is selected in the Development branch field.
- Click Create and open.
- Since you will be using this strategy to test the NBA Strategy Framework, remove any
references to the framework from the strategy. Delete each NBA Strategy Framework sub-strategy shape and connect the previous component (the engagement policy sub-strategy shape) to the context shape exit point. The result should resemble the following figure:
- Since the framework is executed separately for each context, for a multi-level context
dictionary, create a separate exit point for each context.
- To the right of the outermost context shape, create a separate Filter for each
context using the Filter conditions from their respective filters within the context
shapes.
- Connect the exit point of the outermost context shape to each filter, and then connect each filter to the Results shape.
- To the right of the outermost context shape, create a separate Filter for each
context using the Filter conditions from their respective filters within the context
shapes.
- Remove the Final Action Limits & Bundling strategy, and then
connect the exit point of the outermost context shape directly to Best Result. The result should resemble the following figure:
Previous topic Testing the lower strategies Next topic Creating an External Input strategy to test the framework