Send a Notification 4 Hour before the planned start date of change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 09:52 AM
To send an email Notification to the Change Assignment Group members and Change Requester 4 Hour before start time of the change.
- Change types in consideration: Normal and Expedited.
I tried the below code and conditions in the business rule.
Please help me with this.
Thanks in advance
Bala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2023 12:08 PM
In this case, you need scheduled job, event and email notification.
Scheduled Job will run and check if any change fall under 4 hour notification, if found any change record, then it will trigger the event using gs.eventQueue() method which evoke the email notification.
Other Idea, you can add timer in change_request workflow which check for 4 hour duration and then trigger the event for notification, i would go with workflow to avoid additional process over the change_request table.
-Thanks,
AshishKMishra
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
11-21-2023 04:29 AM
I tried the scheduled job it is working but it triggers the old changes also. Please help to fix this.
Thanks in Advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2023 04:39 AM
exclude old changes from your gliderecord query.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2023 04:53 AM
How can I do that? With hardcoded?