- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 08:55 PM
Hi All,
Need to send the oncall schedule rota to customer
Requirement
I need to send the below Notification on daily basis at 3:30 AM
Notification Created
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 11:11 PM
@Saib1 , Follow this below Process
1. I could see you have already Created an Event
2. Call this Event into Schedule Job using gs.eventQueue
Below is the Screenshot of Schedule Job Config (Automatically run a script of your choosing) Select this Option while creating new Schedule Job
Syntax : gs.eventQueue('event.name', GlideRecord, parm1, parm2) \
Ex
gs.eventQueue('xyz',current,current.number,gs.getUserName());
Regards,
Shyamkumar
Regards,
Shyamkumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 08:59 PM
You can create a flow and set the trigger condition as daily and select the time.
Then pass on the notification there and that will take of this.
Another way, is to have a scheduled job, create an event and trigger that via the scheduled job using gs.eventQueue function.
3 Ways to Notify with Flow Designer
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 10:09 PM
Hi @Saib1 ,
This community solution may be helpful for you https://www.servicenow.com/community/developer-forum/creating-schedule-job-to-send-notification/m-p/...
Please mark it correct. if it is helpful for you.
Thanks,
Allu Gopal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 10:45 PM
@Saib1, You can do this with the help of Scheduled Job, by creating an event and triggering that using eventQueue.
Another way is to go for a flow designer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 11:11 PM
@Saib1 , Follow this below Process
1. I could see you have already Created an Event
2. Call this Event into Schedule Job using gs.eventQueue
Below is the Screenshot of Schedule Job Config (Automatically run a script of your choosing) Select this Option while creating new Schedule Job
Syntax : gs.eventQueue('event.name', GlideRecord, parm1, parm2) \
Ex
gs.eventQueue('xyz',current,current.number,gs.getUserName());
Regards,
Shyamkumar
Regards,
Shyamkumar