Skip to main content

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

Troubleshooting simulation tests

Updated on September 15, 2022

Use the following troubleshooting tips to help solve issues related to configuring and running simulation tests in Pega Customer Decision Hub.

Pega Customer Decision Hub

Issue: The system cannot run the simulation test in optimized mode

Note: This content only applies to Pega Cloud environments.

If simulation optimization is enabled in your Business Operations Environment (BOE), the system optimizes distribution test, ethical bias, and value finder simulations to increase processing speed and scalability.

In some cases, the system cannot apply optimization to a simulation run. As a fallback mechanism, the system completes the simulation test in unoptimized mode. When this happens, the history log for the simulation run contains the following messages:

  • Cloud optimization disabled during this simulation
  • Could not apply cloud optimization. Review the attached 'Cloud optimization' report

Additionally, a PEGA0138 alert is sent to the Pega Predictive Diagnostic Cloud.

These messages indicate that the strategy that is associated with the simulation test contains components that the system cannot optimize because their configuration does not meet the requirements for optimization. Such configuration flaws can come from any rules that are referenced by the strategy, for example, proposition filters, adaptive models, when rules, or decision tables. These errors can fall into the following categories:

  • Design-time errors
  • Run-time errors, for example, the use of a non-empty named page or an Interaction History summary used in a non-primary context

If you encounter this issue, you can modify the strategy components to fix the problems that prevent optimization, or you can disable cloud optimization, and then rerun the simulation in unoptimized mode:

  1. In the Pega Customer Decision Hub portal, click Simulation testing, and then open the simulation that the system could not optimize.
  2. In the Attachments section, download the Cloud optimization report.
    Cloud optimization report and related history logs
    The cloud optimization report is attached to a simulation run. The history logs contain messages about failed optimization.
  3. In the Cloud optimization report, review the configuration issues that have been identified in the strategy components.
  4. Based on the issues identified in the Cloud optimization report, modify the strategy components that prevent optimization, and then rerun the simulation by clicking ActionsRestart simulation.
  5. If you cannot fix the configuration errors in the strategy components, disable cloud optimization for this simulation, and then rerun it in unoptimized mode.

    For more information, see Disabling the optimized mode for a simulation test.

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. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us