Question2Replies2350Views OleksandrByelyenov Member since 2016 40 posts Sberbank Posted: 2 years agoLast activity: 2 years 11 months ago Closed How to properly update a lot of Work objects in an activity?I want to update thousands of objects inside an activity. The algorithm is quite simple:Iterate the list of Pages 1) Object-Browse by some unique value. Set the "pzInsKey". 2) Obj-Open-By-Handle with "pzInsKey", Lock = true, ReleaseOnCommit = true 3) Set some values 4) Obj-Save 5) CommitAre the any more simple and safe approaches to perform the algorithm? Data Integration Java and Activities ×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: 2 years agoJakeer Express Scripts replied to OleksandrByelyenovThe below points need to take care. 1. For each execution try to execute fixed limited no of WO. The no of work objects to update should be as input parameter. 2. You should have an exception handling which will let you know that which work object couldn't update. what is the reason. 3. Error WO should not be pulled again for your execution. Posted: 2 years agoOleksandrByelyenov Sberbank replied to JakeerThank you for answer. Could you unscramble how to correctly provide the exception handling?