Posted: 29 Mar 2019 9:33 EDT Last activity: 17 Oct 2020 23:14 EDT
How to Resolve Parent Case automatically if all child cases gets resolved
I have Parent Case (DIS-) and Child Cases (EE-), (NP-). If I resolved all the Child Cases( EE- & NP-), then my Parent Case(DIS) should automatically Resolve. Using Pega 8.1.1 version. Please suggest an approach.
Your parent case can wait on an assignment and have a "AllCoveredResolved" ticket on shape that moves the flow forward, or end shape. Each time a child case is resolved, it calls the "Resolve" OOTB activity which checks if the current case has a parent case, if so, it decrements the pxCoveredCount value. If this value becomes 0, the AllCoveredResolved ticket is automatically raised, and your parent case will continue its flow.
May need to double check the 8.1.1 version in case things have changed since 7 - take a peek at the Work-.Resolve activity to verify this behavior