Support Article
Declare Page not getting Populated
SA-16992
Summary
Declare page is not working.
Error Messages
** Error loading Declare_DynamicVariable with definition RULE-DECLARE-PAGES DECLARE_DYNAMICVARIABLE #20140130T072535.929 GMT using activity {pyClassName=HN-FW-XXXXX-, pxObjClass=Rule-Obj-Activity, pyActivityName=LoadDeclareDCR}
----------
Caused by: com.pega.pegarules.pub.generator.UnresolvedAssemblyError: Invalid expression or reference: No candidates found [possible function name, ruleset/version or number of parameter problem] for Rule-Utility-Function in ruleset list <null> @.getDataSystemSetting("XXX","Ingenix/XXXXXXXXX")
Steps to Reproduce
- Define Declare Page
- Use Activity as source for declare page
- In an activity call model
- In model read values from Dynamic system settings and set to properties in declare page.
Root Cause
Errors received on revalidate and save of model. Properties referred in model are not present in Production environment.
Resolution
Explanation:
- create a RAP from lower environment for missed properties and import them to the production environment
- Make sure that all the properties referred in model are avaialble to model.
- Revalidate and save Model after code move and make sure no errors are present
- Run declare page and test
Published January 31, 2016 - 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.