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

Migration failing while trying to import the application rule

SA-39740

Summary



While attempting to migrate rules from Pega 7.1.7 to Pega 7.2.2, multiple errors occur which appear to be related to the migration of an older application rule.


Error Messages



Exception caught while evaluating when
com.pega.pegarules.pub.runtime.LibraryFunctionNotFoundException: Failed to find instance 'HaveRole--(Activity,String)' of type Rule-Utility-Function defined in 'pegahc_default'


Steps to Reproduce



Export rulesets from Pega 7.1.7 which includes application rules.


Root Cause



The import was updating the application rule with "old" information. Specifically, the Pega rulesets were changed to the prior version causing problems when referencing certain functions (HaveRole--(Activity,String).

Resolution



When performing the import, the user should:
  1. Check "Enable advanced mode to provide more granular control over the import process" on the initial screen for the Application Import Wizard.
  2. After clicking Next, when the user gets to the "Aged Update instances" screen, check "Import aged updates".
  3. After making these selections and any others which are appropriate, the user can perform the import.

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