Migration failing while trying to import the application rule
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.
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.
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).
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.