Skip to main content

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

Frequently asked questions about globally optimized strategies

Updated on May 17, 2024

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 ConfigureDecisioningDecisionsStrategy optimizations page in Dev Studio.

Caution: 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.

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