Scheduled Job
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2024 08:24 AM
If an incident is open for 24 hours, 48 hours or 72 hours, a notification should be sent to the assignment group manager to take action on the incident.
give me step by step approach like when incident is created exact before 24 hrs or exact before 48 or 72 send an notification
is there any other way rather than schedule job?
give me step by step approach
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2024 08:28 AM
Hello @indrajeetma
You can also utilise flow designer for this requirement.
you can try using wait for duration or wait for relative duration actions and achieve this requirement.
please mark the answer as helpful and correct if helped
Kind Regards,
Ravi Chandra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2024 09:58 AM
Hi @indrajeetma ,
1. you can use below code to get the hours in your schedule job.
var datetime = new GlideDateTime(record.sys_created_on).toString().split(" "); //Replace record with your glide record var time = datetime[1].split(":"); var hour = time[1];
2. now add if condition to check 24,48 and 72 hours and trigger the notification using he.eventQueue()
3. create one event based notification .
Accept the solution if it worked