logo

NJP

Notify using Scheduled JOBS in ServiceNow

Import · Jun 17, 2020 · article

Scheduled Jobs are automated pieces of work that can be performed at a specific time or on a recurring schedule to automate email notifications to users based on several requirements.

In here, we will talk about a simple example which notifies Incident assignee manager when there are no actions taken on incident even after 7 days(Incident is open).

Pre-requisite :

Role required: admin

Basic Knowledge: - ServiceNow Admin /Developer Functions(click here to learn more).

ServiceNow Email Notifications(click here to learn more).

ServiceNow Events(click here to learn more).

ServiceNow Scheduled Jobs(click here to learn more)

The following procedure provides an overview of the required and optional tasks you complete to set up IDR. Links in each step provide details for completing the tasks.

Steps:

  • Register the event
  • Create a schedule job and use the required logicin the script
  • Create the notification using Event

Register the event

To register a event follow below steps:

  1. Go to System Policy -> Events -> Registry
  2. Click New Button and enter required details as in below screenshot.
  3. Click Submit.

image

Create a schedule job and use the required logicin the script

To register a event follow below steps:

  1. Go to System Definition -> Scheduled Jobs
  2. Click New Button.
  3. Input all details as in below screenshot.
  4. Write down the logic in script as per the requirement.
  5. Click submit.

image

Create the notification using Event

To create notification follow below steps:

  1. Go to System Notifications -> Email -> Notifications
  2. Click New button and fill up required details as below.

image

imageimageimage

imageimage

Notification Preview: -

imageimage

If the article helps you, please mark it as Helpful, Bookmark it, subscribe it and your feedback would be much appreciated.

Thank You!

Regards,

Kailash

View original source

https://www.servicenow.com/community/developer-articles/notify-using-scheduled-jobs-in-servicenow/ta-p/2330071