Email notification for events
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2022 08:02 PM
i have a customer req to extend the scope to 30/60/90/180 and 365 days.
I already have email notification being sent based on event fire for 30/60/90
Now should i copy the same and create one for 180 and 365 ?
I am not sure how to check how these events are fired I dont if its due to scheduled script exec/business rule any guidance on how to fullfill this task?
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2022 09:24 PM
Hi,
Yes, you have to create/register events for 180 & 365 in event registry. Copy the apply the same logic and modify it for 180& 365 days. If condition matches, then fire the events.
Note:
1) if have different notifications for each events, then need to create notifications as well.
2) If have common notification, then no need to create new notifications.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2022 09:51 AM
Hi,
Good day!
If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
If not, let me know where you are stuck.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2022 10:12 AM
Yes there are different scheduled job, event and email notification for each ?
Can the job and emails be be combined ?
possible with script?
have this job for 90 days
var cnt = new GlideRecord("ast_contract");
cnt.addEncodedQuery('endsRELATIVEGT@dayofweek@ahead@89^endsRELATIVELT@dayofweek@ahead@91');
cnt.query();
while (cnt.next()) {
gs.eventQueue('reminder_contract_90_days', cnt, cnt.number);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2024 09:36 AM
From everything that I see, yes you can combine the job with the email notification items; and yes just like this with the eventQueue ... for each item/record that fits this criteria.