Question 2 Replies 2504 Views × Close popover Oleksandr Bielienov (OleksandrByelyenov) Sberbank Software Engineer Sberbank UA View Profile Send Message OleksandrByelyenov Member since 2016 40 posts Sberbank Posted: October 10, 2017 Last activity: October 11, 2017 Posted: 10 Oct 2017 14:13 EDT Last activity: 11 Oct 2017 5:12 EDT 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) Commit Are the any more simple and safe approaches to perform the algorithm? Data Integration Java and Activities × Close popover Facebook Twitter Linkedin Email Copy Link Copied! Moderation Team has archived post, learn more × Close popover 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 ago Posted: 10 Oct 2017 15:03 EDT × Close popover Mohammad Jakeer Mehathar (Jakeer) Express Scripts Lead Express Scripts US View Profile Send Message Jakeer Express Scripts replied to OleksandrByelyenov The 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: 3 years ago Posted: 11 Oct 2017 5:12 EDT × Close popover Oleksandr Bielienov (OleksandrByelyenov) Sberbank Software Engineer Sberbank UA View Profile Send Message OleksandrByelyenov Sberbank replied to Jakeer Thank you for answer. Could you unscramble how to correctly provide the exception handling?