Question
Not to resolve Parent Case automaticaly when all child cases/subcasses are resolved
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.
Like:
Parent Case(R-)
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
Parent case(R-111)
sub case(TL-10)
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.
Hi Maiti,
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