Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Removing deprecated pyCampaignOptimization settings

Updated on December 10, 2021

This content applies only to Pega Cloud environments

Prediction strategies in Pega Customer Decision Hub version 8.4 used pyCampaignOptimization flags to trigger a negative feedback signal when the waiting time for an outbound campaign has expired. In later versions of Pega Customer Decision Hub, this flag is deprecated. You enable the response timeout by using a prediction-level setting in Prediction Studio.

Upgrading customized prediction strategies (in which the pyCampaignOptimization flag is enabled) from version 8.4 to 8.6 results in an error in which the pxHandleResponses data flow run does not process responses for these strategies.

Impact

  • This issue affects you if you are on Pega Customer Decision Hub version 8.4, you use the Next-Best-Action Designer framework, and you have customized prediction strategies, such as Predict Action Propensity and Predict Treatment Propensity, that include pyCampaignOptimization flags and other associated properties.
  • The response timeout mechanism will not work for you after you upgrade your application to version 8.6.

To prevent this issue, remove the pyCampaignOptimization flag and other associated properties from your prediction strategies before you upgrade your application:

Pega Customer Decision Hub Update Guide
  1. Identify the strategies that contain Set Property shapes which contain the pyCampaignOptimization flag.
    1. In Prediction Studio, open a prediction, and then click ActionsOpen strategy.
    2. On the strategy canvas, double-click each Set Property shape, and then check whether the configuration contains any of the following properties:
      • pyCampaignOptimization
      • pyResponseStage
      • pyDefaultOutcome
      • pxResponseWaitingTime
      Set Property shape
      Double-clicking the Set Property shape open to the properties dialog box, which contains the deprecated properties.
  2. In the prediction strategies that you identified, remove the settings for the following properties:
    • pyCampaignOptimization
    • pyResponseStage
    • pyDefaultOutcome
    • pxResponseWaitingTime
  3. Note the strategies that you updated and the associated predictions. After you upgrade your application, set the response timeout in the Settings tab of the predictions in Prediction Studio.
    For more information, see Setting the response timeout.
  • Previous topic Pega Customer Decision Hub 8.4 and newer to 8.6 Feature Adoption for Pega Cloud Services Environments
  • Next topic Running the Pre-Upgrade Check

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

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