- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2022 03:03 AM
Hi,
I am using a schedule job, where I am querying the records from a table and doing some action for the retrieved records. Now I want to have delay between each record to get that action done (one after the other after few seconds). Could anybody has an idea?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2022 11:28 PM
Hi Ajay,
Yes, you can use that way. You would need to use it after you write gr.update() statement so that system will keep delay after every update as per your requirement.
Note: Consider delay timing before executing script e.g. If you are updating 1lakh records then keeping 1 seconds delay for each record will take more than 24hours.
Please mark this as Correct or Helpful if it helps.
Thanks and Regards,
Abhijit
Regards,
Abhijit
ServiceNow MVP

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2022 03:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2022 04:13 AM
Hi,
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2022 04:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2022 04:42 AM
Hi
The thing here is we are using some API related script in scheduled job. So we decided to stay with scheduled job script itself. Could you propose anything related to scheduled job?
Thanks