Skip to main content

 –

Using the trigger strategy to test the NBAStrategyFramework component

Suggest edit Updated on January 19, 2022

If you see unexpected strategy results from the NBA Strategy Framework component in the trigger strategy, the next step is to test the NBA Strategy Framework strategy to find the high level component where the results are dropping out or are unexpected.

You can use the combination of the persona Data Transform and the trigger strategy to unit test the strategy framework.
  1. In the Pega Customer Decision Hub portal, click IntelligenceStrategies, and then open the NBAStrategyFramework strategy.
  2. Optional: To test a specific sub-strategy component, right-click on the component, and then click Open strategy.
  3. Open the Test Run panel by clicking the slider button on the upper right side of the strategy canvas.
  4. In the Settings section, select Data transform, and then select the persona transform that you created for the trigger strategy test.
  5. In the For external inputs use strategy field, enter the trigger strategy name, for example, Trigger_NBA_TopLevel.
  6. Select Specify a single component within the strategy, and then choose the action filter for the context that you want to test.
    Note: Only a single context is processed at a time by the NBA Strategy framework. When testing, it is important to also process a single context only at a time. In the example below, the Subscriber Action filter component is chosen to only process subscriber actions. To test for the Account context, you would need to choose Account Actions instead.
    Selecting an action filter component
  7. Click Run, and then select the Results component to view the strategy results.
What to do next: To find the strategy component that is not performing as expected, you can click through each shape on the strategy canvas and identify if and where actions are dropping out or where the strategy results are unexpected. For more information, see Understanding the NBAStrategyFramework component test results.
Did you find this content helpful? YesNo

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.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us