state is on hold and on hold reason as awaiting caller, notifications to be sent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 12:38 AM
Hello experts,
if the incident is on hold and on hold reason is awaiting caller, notification has to be sent on 10th,12th,15th day and after 15th day, in every 5 days interval but it should not go once the state changes to anything apart from the on hold and awaiting caller.
So to achieve that i have created a BR that makes entry on sys_trigger table on the respective days and a cancel br that deletes the entry on sys_trigger table to handle if the state changes to anything else.
I am able to do till the 15th day. Now can anyone let me know how can i able to accomplish the every 5 day interval logic and also keeping in mind that it should not go once the state changes.
Kindly help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 12:49 AM
Hi @Deepika54 , Instead of Business rule try to create a flow with trigger conditions as state is on hold and on hold reason is awaiting caller and wait for the duration once the 15 days is done use do until action and wait for 5 days to repeat every 5 days interval.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 12:56 AM
create the scheduled job with following logical:
check the hold and on hold reason is awaiting caller incidents which updated time is 10th,12th,15th day fart from current time send notification and if interval between update time and current is Multiple of 5 days, sent notifications.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 12:59 AM
Hello @Deepika54 ,
Can you please provide the script so we can add the logic into it.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2025 01:01 AM
Hi @Deepika54
You can create a flow that triggers based on the specified time or days.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************