I want to loop through old cases and want resolve them at Pega 8.7.4. I do not want to resolve subcases because main case has a ticket of AllCoveredResolved, and if all subcases resolved the flow proceeds to an email utility, I do not want to send email to customers for old cases.
So I uncheck CloseAllSubCases parameter for pxForceCaseClose. But because of this Step Number 9 is being passed and because of this WorkObjectsToUpdate is empty, so Step Number 11 is being passed, and current page is not being updated.
Is there another activity for just updating and deleting assignments of the case without touching childs or parent?
Yeah, We have two OOTB Activities in Work- Class, you can try.
1: pxDeleteAssignment : Deletes the Assignment with the passed AssignmentID and also updates the pxFlow of corresponding workpage
This activity can be called standalone or from a flow utility shape. If UpdateHistory is set to true it will add a History entry about the Deletion of assignment.
2: pxDeleteAssignmentsForWork : Deletes all the Assignments for the specified WorkObjectID. Also updates the history with the value of ‘AuditNote’ param if ‘UpdateHistory’ param is set to true.
This activity can be called standalone or from a flow utility shape. If UpdateHistory is set to true it will add a History entry about the Deletion of assignment.
I will arrange a JobScheduler which will resolve the cases, I will not use this at any flow. So calling pxDeleteAssignmentsForWork and UpdateStatus activities next to each other may solve my problem.
pzUpdateAndDeleteAssignments works perfect for me and do both jobs but it throws “internal activity” guardrail when I use it