Skip to main content


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

Updating dynamic system settings by using Java methods

Updated on July 8, 2022

Some dynamic system settings instances are created automatically during installation or upgrade of a Pega Platform system. However, your application can also create, set, or query instances of this class using Java methods in the PublicAPI PRSystemSettings interface.

Java methods you can use include:
  • string getDynamic(OwningRuleSet, SettingKey) — Returns the dynamic system settings value currently associated with the supplied key.
  • boolean setDynamic(OwningRuleSet, SettingKey, newvalue) — Updates the value of an existing dynamic system settings value.

The PublicAPI PRSystemSettings interface also lets your application query the application settings rule type (Rule-Admin-System-Settings).

  • string get (OwningRuleSet, SettingKey) — Uses rule resolution to find an application settings rule (Rule-Admin-System-Settings rule type) to return its value.

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