Question

5
Replies
3002
Views
AshishY6 Member since 2014 2 posts
Infosys
Posted: 4 years ago
Last activity: 4 years 1 month ago
Closed

Issue with pxCoveredCount while updating Parent Case from child case

Hello,

 

I am facing an issue related to pxCoveredCount. PFB detailed information on the same.

  1. We have a Parent case and multiple child cases. We created the Data model at the Parent Case level because each child case will require the Data model updated by the previous child case.
  2. Whenever a new child case is getting created, we create a Data model at Child case. The same will be mapped back to Parent case, before closure of the Child case.
  3. Problem comes when:
    • From child case, we opened the Parent case using Obj- method (on a page, lets say ParentPage) and update the Data using Page-Copy and Obj-Save the Parent case.
    • Then Child case status will be set to Resolved-xxxx status, which triggers Pega OOTB rules and updates the pxCoveredCount property of the parent case.
    • pxCoverPage is hardcoded as Parent Page in Work-.Resolve activity. And it is decrementing pxCoveredCount by -1, which is throwing error while Execution. But the actual parent case page is ParentPage where it should have executed.
    • Here, there are 2 instances of Parent page ( ParentPage and pxCoverPage) are out of sync, causing the issue.

 

Suggestions are required on below:

  • If the case structure and Data model update approach is good? Or any changes required?
  • Is there any other way to propagate data from Child to Parent?
  • How to update ParentPage pxCoveredCount property, while it is being opened from Child case?

***Updated by moderator: Lochan to update Category*** 

Case Management Data Integration
Moderation Team has archived post
Share this page LinkedIn