Speed Up Events and Emails While Testing

So, I’m quite an inpatient person. When I do something, I kind of what it to happen now…

When configuring in ServiceNow, it’s great. I update a business rule and I can immediately see the results.

Only times this isn’t the case, is when triggering an event, waiting to receive an email (and then process it) or waiting to send an email.

In these scenarios, it’s all run from scheduled jobs which trigger once every 2 minutes. To speed things up, I put together the following script below. To make it easier to access, I created a module in one of the administrator applications called ‘Run events’ and make it a type of ‘Script (from arguments)’. Then in the arguments put the following code:

Continue reading