Skip to main content

Table of Contents

Testing the Next-Best-Action strategies with data flows


Only available versions of this content are shown in the dropdown

After you create a data flow, start a test run panel of your Next-Best-Action strategy. You can test the full strategy framework by running the test at the top level of the Next-Best-Action hierarchy, or test the configuration of a specific business group by running the test only for that group.

  1. In the navigation panel of Dev Studio, click Records Decision Strategy .

  2. Open the Next-Best-Action strategy that you want to test. For example, to test the full Next-Best-Action strategy framework, open the NBA_TopLevel strategy.

  3. Open the Test run panel by clicking the Toggle side panel icon on the right side of the strategy canvas.

  4. In the Single case tab of the Test run panel, select Run this strategy on a data flow.

  5. In the Data flow field, select your new data flow.

  6. In the Customer ID list, select the ID of a customer.

    Sample test data flow run for a customer
  7. Click Run.

The test data flow retrieves the customer data from the database. The Next-Best-Action strategy then uses the data to decide on the Next-Best-Action for the customer based on the customer's eligibilities, Interaction History, and other factors. You can see the decision results directly on the strategy canvas.
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