Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Generate UDFs without recreating rules schema during upgrade



Administrators have configured the '' file with the 'bypass.pega.schema' property set to "false" in order to re-generate UDFs during an upgrade. However, this is causing an issue because the rule schema is no longer be owned by the deployment user; instead it is owned by the application administrator user (which has fewer priveliges). Running the upgrade will recreate the schema, and thus requiring the transfer of schema ownership back to the administrator user later.

Error Messages

Not Applicable

Steps to Reproduce

Run an upgrade with the 'bypass.pega.schema' property set to "false" in order to re-generate UDFs.

Root Cause

UDF generation can be completed without modifying the schema ownership or privileges by using the separate script in the /scripts/ subdirectory of the installation media: (or .bat)

This utilizes the database information in to generate, compile, and grant access to the User-defined Functions (UDFs.)


Utilize the generateUDF script to re-generate the UDFs instead of running a complete upgrade.

Published August 26, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 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