Run Discovery Schedules Consecutively

bookman1502
Giga Expert

We have a number of Discovery schedules that we're trying to run periodically, however we are not sure how long each job will take to complete and we'd like to ensure that the next schedule doesn't start before the previous one finishes. Is there a way to have each schedule kick off an event that will trigger the next one or something? Unfortunately I don't see any script field on the Discovery schedule form so I'm not seeing a way to tell it to fire off an event that a business rule could use to start the next schedule, assuming it's even possible for scripts to initialize discovery schedules. Any help would be greatly appreciated.

1 ACCEPTED SOLUTION

Take a look on the share site.   I've not used this entry, but it might do the trick for you:


It's named Discovery Sequencing and it's written by Benjamin Yukich.



Note: I couldn't find a way to get a direct link to the share item, but this is a link to a query of the share site which brings back one result, the item I'm referring you to.


Click the link below to see the search result:


ServiceNow Share



After posting the link takes me to the query page ( search for Discovery Sequencing )


Here's another try ServiceNow Share


View solution in original post

4 REPLIES 4

Ken_Michelson
Kilo Guru

Use the run option of "Run After". See 2.1 here Create a Discovery Schedule - ServiceNow Wiki


("Allows you to sequentially stagger the schedule")


Great answer, but unfortunately we're still in Eureka which doesn't appear to have this functionality.


Take a look on the share site.   I've not used this entry, but it might do the trick for you:


It's named Discovery Sequencing and it's written by Benjamin Yukich.



Note: I couldn't find a way to get a direct link to the share item, but this is a link to a query of the share site which brings back one result, the item I'm referring you to.


Click the link below to see the search result:


ServiceNow Share



After posting the link takes me to the query page ( search for Discovery Sequencing )


Here's another try ServiceNow Share


Thanks a bunch!