Incident Event trigger based on Assigned
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-24-2024 06:29 AM
send notification when assigned is not updated the incident form before 18:00PM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-24-2024 07:32 PM
your requirement is not clear
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-24-2024 09:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-24-2024 09:54 PM
Hi @Srinivas Chinna ,
Follow below steps.
- Create a schedule job and use below script.
var grIncident = new GlideRecord('incident');
grIncident.addQuery('state', '!=', '6'); // Exclude resolved or closed incidents
grIncident.addNullQuery('assigned_to'); // Find incidents where Assigned To is not updated
grIncident.query();
while (grIncident.next()) {
// Trigger a custom event
gs.eventQueue('incident.assigned_not_updated', grIncident, grIncident.opened_by, grIncident.assigned_to);
}
- Create one event registry with name "incident.assigned_not_updated".
- Create a event based notification: check this blog in case dont know: https://servicenowwithrunjay.com/email-notification/
You can also do Using Flow Designer
- Create a Scheduled Flow in Flow Designer.
- Define the trigger to run daily at 6:00 PM.
- Add a condition to check incidents where Assigned To is null and state is not Closed.
- Add an action to send an email or notification to the appropriate recipients.
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------