It will be great if People can give me your advice on this.
we have a requirement to not resolve parent case when all child cases are resolved. Parent case resolve operation is a manual activity or certain specific condition parent case will be resolved along with all sub cases.
child case/sub case(TL-/RA-/MS-/Task-) user can create the child case any time till the parent case not resolved.
currently what we are doing based on some external event we are opening the sub case(MS-) then calling the pxforcecaseclose activity by passing the close all subcase parameter to true.
Currently we are facing one issue
if we call pxforcecaseclose activity then its closing the sub case along with updated status. Inside the pxforcecaseclose activity it is calling updatestatus activity which is call AllCoveredResolved when to check all subcases resolved or not for this situation it is closing the parent case as well we don't want that.
From which context are you calling pxForceCaseClose activity ?
If you are calling on Parent Case (R-111), it will resolve the parent as well. This is the expected behavior.
OOTB UpdateStatus activity will just call AllCoveredResolved which will just set/raise ticket (AllCoveredResolved). If you are not using the ticket your parent will not be closed automatically.
In your case it might be getting resolved since pxForceCaseClose activity might be called on Parent case context. If you just want to resolve subcases (TL-10) and not parent, you should call activity on Subcase context.
And also make sure that you are nor using AllCoveredResolved ticket anywhere in your flow.
Let us know if this helps
Posted: 6 years ago
Posted: 22 Apr 2016 9:57 EDT
Maiti Soumen (SOUMENMAITI)
PEGA LEAD SYSTEM ARCHITECT