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 thepage in Dev Studio.
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.