Support Article
Error on creating a case for application built on CPM
SA-8890
Summary
Application developed with CPM 7.1.3/PegaRULES 7.1.6 is upgraded into the Cloud instance with CPM 7.1.3 over PegaRULES 7.1.7. When using the imported application on Cloud and a new case type is created using Case Designer, an error is encountered.
Error Messages
** ** Update record failed: .pySections(1).pySectionBody(1).pyTable.pyRows(1).pyCells(1).pyValue: CAInformation does not exist for use by this record (Validate). .pySections(2).pySectionBody(1).pyInclude: CANetPromoter does not exist for use by this record (Validate). .pySections(2).pyContainerVisibleWhen: Property ABC-FW-TestFW-Work-MyTestCaseType.NetPromoterScore is undefined.
Steps to Reproduce
- Upgrade an application built on CPM 7.13 /Pega 7.1.6 to Pega 7.1.7.
- Switch to Case view. Click the Down arrow at upper right hand corner of navigation panel and select Add a case type.
- Type any name for the case type (for example: MyCase) and click OK.
Root Cause
The root cause of the issue is the section CAWorkSpecific. This section gets created in background when a new case is created. It refers to these three invalid rules > CAInformation, CANetPromoter and NetPromoterScore.
These rules are created from the Case Designer but it is used in CPM product.
Resolution
The solution is to create the rules - CAInformation, CANetPromoter and NetPromoterScore in the current work class (default workpool).
Published January 31, 2016 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.