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

Saving rules fails with "consult system administrator"

SA-25851

Summary



System throws an error when developer tries to save any flow:


Error Messages



2016-07-15 04:46:38,937 [    WebContainer : 2] [dalProcess] [                    ] [       XXXXX:01.01.01] (  internal.access.DatabaseImpl) ERROR wxxxd0715.xxx.com|xx.11.xx xxxxx- Trying to create a ruleset context for a rule with a bad class: Class Rule-Obj-Flow does not exist
com.pega.pegarules.pub.database.BadClassDefinitionException: Class Rule-Obj-Flow does not exist
From: (H09AFD3159455F3D2B44C5F2B898882E2:1x.1xx.xx.1xx) 
    at com.pega.pegarules.data.internal.access.RulesetContextImpl.<init>(RulesetContextImpl.java:390)
    at com.pega.pegarules.data.internal.clipboard.ClipboardPageBase.getRulesetContext(ClipboardPageBase.java:2086)
    at com.pega.pegarules.data.internal.clipboard.ClipboardPageImpl.getRulesetContext(ClipboardPageImpl.java:482)
    at com.pega.pegarules.data.internal.access.DatabaseImpl.getRulesetContext(DatabaseImpl.java:6689)
    at com.pegarules.generated.validateRuleExistence_071017_pkqHsfQsBNG74YKscpIgMw.validateRuleExistence07_10_17(validateRuleExistence_071017_pkqHsfQsBNG74YKscpIgMw.java:137)
    at com.pegarules.generated.validateRuleExistence_071017_pkqHsfQsBNG74YKscpIgMw.invoke(validateRuleExistence_071017_pkqHsfQsBNG74YKscpIgMw.java:83)
    at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:133)

 


Steps to Reproduce



1). Log into Pega 7.1.8 developer portal
2). Search and open any Flow Rule.
3)  Save or check in Flow Rule. System opens a popup with error message"Consult your system administrator'.


Root Cause



A defect or configuration issue in the operating environment :
For every error in front end ‘Consult your system administrator’ there is exception in the PegaRules.log. from the exception stack trace below 3 functions are referred.
  1. validateRuleExistence
  2. validateRuleExistence2
  3. createFieldValueReference


Resolution



Re-generate below functions to resolve the issue.  Follow below instructions to re-generate functions.
  1. Log into developer portal.
  2. Search for the functions listed above. (For example: validateRuleExistence)




3. Open the function rule.

4. Click on the ‘Java’ tab. You will find three buttons.
5. Click on ‘Re-Generate Function’ and ‘Re-Generate Library’ 



​Repeat the above process for all above mentioned  three functions. 

Published August 1, 2016 - 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