Need to send notification before 3 min of change start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 12:15 PM
Hi All,
I need to send a notification 3 min before the planned start date, I have written below the business rule it is triggering three notifications. Could anyone please help me figure out what the issue is here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 02:55 PM
Hi, I would not recommend a three minute window as a suitable production solution, as SNC email generation process includes a number of batch processes and these may consume a portion of this small time window, also depending on variables outside of SNC platform control email can often be delayed for periods exceeding 3 minutes.
Your post doesn't make it clear if this BR is triggered multiple times at one record update, or multiple times during the record lifecycle?
If all at one update you might need to check for recursive BR's triggering updates to current record, directly or via updates to other records and look at ways to resolve this.
If triggering multiple times individually, then either look at better trigger conditions for the BR, or you could include a scripted look up to see if the event was already created and only insert if it did not exist.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2023 04:54 PM
Hi @Rushi2 ,
I would suggest to handle this email triggering part at change's workflow level because it's already running on same change. Use the Timer/ Run Script and manage the notification, you can loop the same timer/runscript ( if required )
@Tony Chatfield1 has already shared the valuable details. Review it.
-Thanks
AshishKMishra
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution