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:
- Check "Enable advanced mode to provide more granular control over the import process" on the initial screen for the Application Import Wizard.
- After clicking Next, when the user gets to the "Aged Update instances" screen, check "Import aged updates".
- After making these selections and any others which are appropriate, the user can perform the import.
Published August 26, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.