Question13Replies6783Views RyanLoatoz Member since 2016 35 posts SINARMASMSIGLIFE Posted: 3 years agoLast activity: 3 years 1 month ago Closed Solved Resolve Multiple Case ID (Work Case ) With ACTIVITYhi,I have requirement about this topic, can pega OOTB resolve Case ID ( Work Case ) but not only 1 case, but multiple case ID ( selected by user) ??I have searched for references on this and found the method "Updatestatus" on the activity,Can the method be used in this case? OR There is another solution ?Thanks Data Integration Java and Activities Case Management ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 3 years agoSwarnenduM Infosys replied to RyanLoatozHi Ryan, I think you have to call both UpdateStatus and RemoveFlows to delete any open assignment. Posted: 3 years agoKrishnaC2208 Aaseya IT Services Pvt Ltd replied to RyanLoatozHi Ryan, you can call updateStatus activity to update the status of the activity and pxDeleteAssignmentsForWork activity to delete the assignment of that case. you can call this in a loop to do it for multiple cases. Posted: 3 years agoRyanLoatoz SINARMASMSIGLIFE replied to KrishnaC2208hi krishna thanks For your advice , how to passing (param) for updateStatus & pxDeleteAssignmentsForWork ACTIVITY To specify which case id is selected . thanks Posted: 3 years agovenkatapraveen Incessant replied to RyanLoatozYou Can also use pxForceClose API Posted: 3 years agoSaikat_Chakrabortty Capgemini replied to RyanLoatozIn our application we had similar requirement. the process we followed: 1. User will enter case is in comma separated format(CSV). 2.used Apply-Parse-Delimited method to split those case ids. 3. Called pxForceCaseClose pega API with each case id. Thanks, Saikat Posted: 3 years agoRyanLoatoz SINARMASMSIGLIFE replied to Saikat_Chakraborttyhi Saikatc8, thanks For your advice , can you give An example of how this works with the pass param id case that we choose :) thanks Posted: 3 years agoRyanLoatoz SINARMASMSIGLIFE replied to RyanLoatozhi, can anyone help me with this requirement ? Posted: 3 years agoRyanLoatoz SINARMASMSIGLIFE replied to RyanLoatoz hi, can anyone help me with this requirement ? Posted: 3 years agoSantanu PEGA replied to RyanLoatozHi So basically you want to perform a bulk delete. Here is my idea 1. Present the list of assignment as a grid and let user select the assignments they want to delete 2. Based on user selection create a separate pagelist 3. Have a button to call an activity 4. Configure that activity to call pxForceCaseClose in a loop 5. Use the pagelist ( which contains the list of assignments they want to delete ) for the looping logic 6. Pass the workobject id as parameter during each iteration. Posted: 3 years agokumaa21 PEGA replied to RyanLoatozUse "pxForceCaseClose" if you want to resolve the sub cases along with the WO and even delete the open assignments. If your regquirement is to just set the status of the WO as resolved, you can use "UpdateStatus" api. Obviously, you need to call these in a loop to resolve multiple WOs. Posted: 3 years agoRyanLoatoz SINARMASMSIGLIFE replied to kumaa21thanks kumaa21 can u give an example how pxForceCaseClose to be used ? for example, parse parameter case id. thanks Posted: 3 years agoLakshma_INOVAR INOVAR replied to RyanLoatozRun the pxForceCaseClose activity in the loop of user selected results and pass the pyID as param. Accepted Solution Posted: 3 years agokotil PEGA replied to RyanLoatozIf you want select cases manually and resolve them, you could you Bulk Process present in the case manager portal. We have complete and withdraw localactions, which we can use. If you want to do this programatically, pxForceCaseClose is the api to do that. We have get the list of cases in a Paglist and call this api iteratively passing the WorkObjectID parameter.