- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2023 12:06 AM
Hello Chiranjeevi.
If this works for single record as expected then it should also work for multiple (provided you are iterating through using while loop instead of if).
I would like to validate your multiple record / bulk record update script to help you better.
But if you are confident enough about bulk record updates then
you can try adding 'gr.setWorkflow(false);' before your last gr.update();. PS: setworkflow will stop execution of BRs that happens after this update but can be useful when you are not expecting anything else (like notifications) to be triggered after this update as part of fix script.
If you dont want to use setWorkflow(false) because of some reasons then share your script along with type of field 'u_rating_valid_to ' and 'risk_rating_valid_to'
Regards,Sushant Malsure