Skip to main content

Table of Contents

Frequently asked questions about globally optimized strategies

See the following topics for additional information, tips and tricks, and best practices.

What happens if I update a rule that GOS references?

By default, if you update any of the filters, When rules, strategies, or decision tables that the globally optimized strategy imports and executes, GOS will automatically recompile after a short period of time.

Can I manually recompile GOS without waiting for it to recompile automatically?

It is possible to switch off automatic recompilation by editing the Pega-DecisionEngine.decision/strategy/cacheGOSProgram dynamic system setting. By default, the setting is set to SMART_CACHE. To enable manual recompilation of globally optimized strategies, change the setting value to STATIC_CACHE. You can manually recompile any GOS on the Configure Decisioning Decisions Strategy optimizations page in Dev Studio.

Only disable automatic recompilation on environments where rules are not frequently updated and performance is important, for example, on production environments.

How do I manage changes to GOS rules?

As a best practice, use the Pega change management tool, Pega 1:1 Operations Manager, to manage business changes. GOS natively supports Pega 1:1 Operations Manager's standard business change management process. GOS rules are automatically included in relevant revision packages.

If you do not use Pega change management tools, you must propagate the changes manually, and then recompile GOS rules on the destination environment.

What can I do when my GOS cannot be optimized?

GOS cannot be optimized when their components contain expressions with unsupported functions. However, you can optimize a strategy by adding these functions to the pyAllowlistFunction data transform or by changing the strategy logic.

For more details, see Optimizing strategies with allow list functions.

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