1. Register the event
2. Encoded Query
3. Scheduled Job
4. Notification
Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details
05-22-2024 05:29 AM
@Ankur Bawiskar @Community Alums @Sohail Khilji @Maik Skoddow
Please help me how can I configure Email Notification with scheduled Job
Solved! Go to Solution.
05-22-2024 05:36 AM
Hi @ARAVINDA11 ,
05-22-2024 05:36 AM
Hi @ARAVINDA11 ,
05-22-2024 05:38 AM
@ARAVINDA11 You can trigger an email notification from a scheduled job by applying following steps.
1. Register an event first using the Event registry module. For more information please refer to https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/platform-eve...
2. Create an email notification which will get triggered via an event. Select the event name created in step 1. Fore more information please refer to https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/notification...
3. Create a scheduled job and in the script field trigger the event using
gs.eventQueue('<event name>,current,current.number,gs.getUserName());
Hope this helps.
