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

On submitting assignment error occurs when processing child

SA-103420

Summary



On submitting an assignment, error occurs during the processing a child case.


Error Messages



Exception with pzmapcases


Steps to Reproduce



Not Applicable


Root Cause



An issue in the custom application code or rules.
The error occurred due to data discrepancy in the parent case data. The current case where the error occurred, belonged to a parent case with data discrepancy. Child cases with invalid keys (without pyID) were present in the pxCoveredInsKeys of the parent.



Resolution



Perform the following local-change: 

1. Create an activity in the invalid pxCoveredInsKeys class,

  • Obj-Open-By-Handle (pass the pzInsKey of the pxCoveredInskey without pyID)
  • Property-Set (set  pyID)
  • Obj-Save (with write now)

2. Create an activity in the parent class,

  • Obj-Open-By-Handle (pass the pzInsKey of the Parent case)
  • Property-Set (Set pxCoveredInsKey(x) ('x' is the index of the incorrect pxCoveredInsKeys). Set pxCoveredInsKey with the correct pzInskey with pyID)
  • Obj-Save (with write now)

Published March 25, 2020 - Updated December 2, 2021

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