Skip to main content
LinkedIn
Copied!

Table of Contents

Using the trigger strategy to test the NBAStrategyFramework component

Version:

Only available versions of this content are shown in the dropdown

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 Intelligence Strategies , 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.

    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.

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?

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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us