Class key validation issue on field value
Developer is observing class key validation issue on field value whenever they move from one environment to another environment.
They are on multi node environment with same prconfig file settings across all the nodes.
Class Key validation failed for class: Rule-Obj-FieldValue, class key value: X-X-X, reason: Instance not found
Steps to Reproduce
- Create a property and use UI control as PromptFieldValue.
- Create a field value for the property created.
- Execute the flow.
An issue in the custom application code or rules. Found a dynamic system setting <env name="conclusioncache/fieldvalue/pruneatage" value="7200000" /> in prconfig file. In Pega 7.1.6 with the existing code in place this setting cannot be supported for field value conclusions.
The reason behind this issue is field value conclusions are not stored in DB and only a memory cache is maintained. When the configuration has the above setting, then conclusion entries are removed from memory when they meet the age specified in setting.
Perform the following local-change:
Remove the value from the Dynamic setting rule and restart the server.
0% found this useful