Scheduled job for approvals expiration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 11:58 PM
Hi Community,
I need to trigger an expiration email based on some conditions.
1. A notification needs to be triggered every day when an approval is expired yesterday along with some other filter conditions.
2. A notification needs to be triggered every 1st of a month when an approval is expiring in a month along with some other filter conditions.
This notifications needs to be triggered to product owner.
So, here is my scheduled jobs:
1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2024 12:35 AM
what debugging you did?
are you sure it went inside the while and triggered the event?
you are not setting the recipient in eventQueue() function, so are you setting it up directly in notification level?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2024 12:48 AM
Yeah i am setting the recipient directly in the notification.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 03:20 AM
@Ankur Bawiskar any update on this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2024 03:59 AM
are you sure it went inside the while and triggered the event?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader