Discussion

Validation Rule - "OnAdd"

The validation rule "OnAdd" defined in the "Work-" class, will be called when a work object is created / saved.

Apart from these, under which scenario will the validate rule be called / getting triggered.

Raising this question, since we're getting a below error in the log.

2010-07-07 14:59:41,525 [fault (self-tuning)'] (bb0ea3060e8c1618f54e0fb76a9f68) ERROR 10.56.16.203|10.4.236.180 COD013 - JSP encountered ServletException

com.pega.pegarules.pub.generator.RuleNotFoundException: Failed to find instance xxxx-yyyy-Data-ReportUtil-SRCreatedInyyyy.OnAdd in class Rule-Obj-Validate.

at com.pega.pegarules.engine.generator.FUAInstance.getRules(FUAInstance.java:1979)

at com.pega.pegarules.engine.generator.FUAInstance.getClassSource(FUAInstance.java:2188)

at com.pega.pegarules.engine.generator.FUACache.buildAndOrLoadJavaClass(FUACache.java:699)

at com.pega.pegarules.engine.generator.FUACache.find(FUACache.java:579)

at com.pega.pegarules.engine.generator.FUAManager.get(FUAManager.java:713)

at com.pega.pegarules.engine.runtime.Executable.getMetadata(Executable.java:5685)

at com.pegarules.generated.html_fragment.ra_stream_workformstandard_inputenabled_8dbb0ea3060e8c1618f54e0fb76a9f68._jspService(ra_stream_workformstandard_inputenabled_8dbb0ea3060e8c1618f54e0fb76a9f68.java:2572)

at com.pegarules.generated.html_fragment.ra_stream_workformstandard_inputenabled_8dbb0ea3060e8c1618f54e0fb76a9f68.execute(ra_stream_workformstandard_inputenabled_8dbb0ea3060e8c1618f54e0fb76a9f68.java:1153)

at com.pega.pegarules.engine.runtime.StreamBuilderTools.appendStreamKeepProperties(StreamBuilderTools.java:497)

at com.pega.pegarules.engine.runtime.StreamBuilderTools.appendStream(StreamBuilderTools.java:391)

at com.pega.pegarules.engine.runtime.StreamBuilderTools.appendStream(StreamBuilderTools.java:382)

at com.pega.pegarules.engine.runtime.StreamBuilderTools.appendStream(StreamBuilderTools.java:378)

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

Pega
July 14, 2010 - 12:35pm

Please contact Pega Support with this error.