Testing the Predict Action Propensity strategy
To test this sub-strategy, you need to ensure that the Create Eligible Channels strategy (the Expand Actions by Active Channels component) has executed first, and that the Non Transactional Filter has also been executed.
Pega Customer Decision Hub
- In the Customer Decision Hub portal, click .
- Open the External Input NBA Framework Test strategy.
- If the strategy is not already checked out, click Check out.
- From the External Input NBA Framework Test strategy, right-click the Action Scoring component, and then click Open strategy to open the Action Level Propensity strategy.
- Press the Ctrl button and click on the Expand Actions by Active Channels and Non Transactional Filter components to select them both.
- Right-click on one of the selected components, and then click Copy to copy them both.
- Return to the External Input NBA Framework Test strategy, and then paste the copied components in a spot directly below the Constraints sub-strategy component.
- Join Constraints to Expand Actions by Active Channels.
- Join Expand Actions by Active Channels to the Non Transactional Filter.
- Double-click the Non Transactional Filter and change the name to
Action Scoring Non Transactional.This will help identify the component as being the Non Transactional filter from the Action Scoring component.
- Click Save to save the strategy, or Check in if you are not making any further changes.
- Verify that the test results for the Action Scoring Non Transactional filter in the External Input NBA Framework Test strategy are the same as those for the Non Transactional filter in the Action Level Propensity strategy.
- Test the Predict Action Propensity component by doing the following steps:
- From the Action Level Propensity strategy, right-click the Predict Action
Propensity component, and then click Open strategy. (right
click, Open strategy).
- Open the Test Run panel by clicking the slider button on the upper right side of the strategy canvas.
- In the Settings section, select Data
transform, and then select a persona transform.
- In the For external inputs use strategy field, enter ExternalInputNBAFrameworkTest.
- Select Specify a single component within the strategy.
- Select the Action Scoring Non Transactional filter that you created in step 7.
- Click Run.
- On the strategy canvas click on the External Inputs shape and check that the test results are the same as those for the Action Scoring Non Transactional filter in the External Input NBA Framework Test, and for the Non Transactional filter in the Action Level Propensity performed in the tests in step 12.
- Click on individual components within the strategy to check where actions are dropping out or where the strategy results are unexpected.
- From the Action Level Propensity strategy, right-click the Predict Action
Propensity component, and then click Open strategy. (right
click, Open strategy).
Previous topic Testing a strategy within a lower-level strategy Next topic Testing the Final Action Limits And Bundling strategy