CloeW938 Member since 2018 139 posts
IT Solution Service
Posted: 4 months ago
Last activity: 4 months 3 weeks ago

Error handling approach when you modify work objects by bulk


I have created a User Interface in a parent case screen where you can select and include other child cases. When submission, AddToCover Process API is called looping over child case list and things work fine, as long as child cases are not locked by anyone. If anyone is performing child case, that iteration fails, of course. However I want to avoid such situation and guarantee that these selected child cases are to be added to its parent case for sure. 


I don't think this is specific to only parent / child use case, but in any situation where activity modifies work objects especially by bulk. How do people handle this situation? What is the standard approach or best practice for such exceptional case?


***Edited by Moderator: Pallavi to update platform capability tags***  

Pega Platform 8.5 Case Management
Share this page LinkedIn