Skip to main content
LinkedIn
Copied!

Table of Contents

Creating an External Input strategy to test the framework

Once the actions source is available, you can use this to replace the External Input in the NBA Strategy Framework.

  1. In the Pega Customer Decision Hub portal, click Intelligence Strategies .

  2. Open the NBA Strategy Framework strategy.

  3. Click Save As and change the label to be the name of a new test strategy, for example, External Input Test.

  4. Ensure that [No branch] is selected in the Development branch field.

  5. Click Create and open.

  6. Right-click on an empty area of the canvas, and then click Disable external input.

  7. In the Input Disable Warning message, click Submit.

  8. Right-click to the left of the leftmost component in the strategy.

  9. Select Sub-strategy External .

  10. Double click on the new component.

  11. In the External strategy field, enter ExternalInputTest.

  12. Select Specify a single component within the strategy.

    You may need to do this twice, since the first check is used to verify the strategy name.
  13. From the Component list, select the action context that you want to use for testing.

    Because the framework is only ever executed for a single context at a time, it is highly recommended to use a single context when testing the framework. Select the context where you are seeing issues that you need to test. If required, you can change your selection later.
  14. Connect the new External Input Test shape to the Pre-processing extension point shape.

  15. Save and check in your changes.

You have created a test strategy that can be used to test sub-strategies within the NBA Strategy Framework using a specific action context. If you need to test using a different context, you can either use the Save as option to create an alternative version, or you can check out the strategy, change the component referenced in the call to the External Input Test sub-strategy, and then save the changes for use during your tests.
It is recommended that you use the second method while you may still be making changes to the strategy. When the strategy is stable and you have no further changes to make, you can safely make one or more copies without having to keep updating the copies.
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