Skip to main content

Updating dynamic system settings by using Java methods

Suggest edit
Updated on August 25, 2021

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.
  • Previous topic Updating dynamic system settings by using a direct connection to the database
  • Next topic Configuring production-level run-time settings
Did you find this content helpful? YesNo

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

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