- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 05:23 AM
Hi ,
I need to configure a notification based on contract table. The notification needs to be triggered when the end date of the contract is one week from the current date.
I have configured a notification with scheduled script and event trigger, but am not getting the accurate solution. The notification triggers for expired records also. When a new contract is created with expiry date as next week the notification is not triggered.
Suggest a solution for this use case.
I'm attaching the code snippet below for the reference.
Thanks.
#servicenow #notifications #email #itsm
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 05:28 AM - edited 02-05-2024 05:39 AM
Hi @Anirudh29,
The contract module already has configuration for 30 60 90 days expire notification, you can add your desire day in the same setting,
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2024 05:28 AM - edited 02-05-2024 05:39 AM
Hi @Anirudh29,
The contract module already has configuration for 30 60 90 days expire notification, you can add your desire day in the same setting,
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 01:15 AM
Thanks a lot @AshishKM for your solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 03:49 AM
Good to know that it works for you,
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution