Iamshankha/Smart Incident Assignment – Auto-Assign Incident to Idle Members#1986
Closed
iamshankha wants to merge 2 commits intoServiceNowDevProgram:mainfrom
Closed
Iamshankha/Smart Incident Assignment – Auto-Assign Incident to Idle Members#1986iamshankha wants to merge 2 commits intoServiceNowDevProgram:mainfrom
iamshankha wants to merge 2 commits intoServiceNowDevProgram:mainfrom
Conversation
Smart Incident Assignment – Auto-Assign Incident to Idle Members This server-side solution automatically assigns incidents containing keywords like “disaster” or “emergency” to idle members of a designated support group. It ensures workload is evenly distributed, prevents overloading specific team members, and maintains faster incident response. The assignment group is automatically set, and the system checks each member’s current open incidents before assigning, making the process efficient and balanced.
🛠️ Smart Incident Assignment – Auto-Assign Incident to Idle Members 📘 Overview This Business Rule automatically assigns incidents to a predefined support group when specific keywords, such as “disaster” or “emergency”, are present in the incident’s short description. It also ensures that incidents are distributed among group members who are currently idle, maintaining workload balance across the team. 🧩 Problem Statement During critical situations, incidents tagged as disaster or emergency need immediate attention. Manually assigning these incidents can lead to: Delays in response Uneven workload distribution among support team members Errors in group assignment 💡 Solution The Auto-Assign Support Group Business Rule solves this by: Checking if the incident’s short description contains “disaster” or “emergency”. Automatically populating the Assignment Group field with Support Group. Scanning all active members of the group and checking if they already have open incidents. Assigning the incident to the first idle member to ensure balanced workload. Providing an info message if all members are currently busy, allowing fallback handling. 🚀 Benefits ✅ Ensures critical incidents are promptly assigned to the correct support team. ✅ Maintains balanced workload across team members, avoiding overloading a single user. ✅ Eliminates manual assignment errors, saving time and improving response efficiency. ✅ Enhances operational visibility and accountability in high-priority scenarios. 🛠️ Implementation Table: Incident [incident] Business Rule Type: Before Insert / Before Update Trigger: When short description contains disaster or emergency
Contributor
|
Thank you for your contribution. Also, triggering business rules just based on short description isn't a good practice since it will lead to downstream process issues. Major incident should be triggered based on trigger rules. I will be closing this PR now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Description:
🛠️ Smart Incident Assignment – Auto-Assign Incident to Idle Members
📘 Overview
This Business Rule automatically assigns incidents to a predefined support group when specific keywords, such as “disaster” or “emergency”, are present in the incident’s short description. It also ensures that incidents are distributed among group members who are currently idle, maintaining workload balance across the team.
🧩 Problem Statement
During critical situations, incidents tagged as disaster or emergency need immediate attention.
Manually assigning these incidents can lead to:
Delays in response
Uneven workload distribution among support team members
Errors in group assignment
💡 Solution
The Auto-Assign Support Group Business Rule solves this by:
Checking if the incident’s short description contains “disaster” or “emergency”.
Automatically populating the Assignment Group field with Support Group.
Scanning all active members of the group and checking if they already have open incidents.
Assigning the incident to the first idle member to ensure balanced workload.
Providing an info message if all members are currently busy, allowing fallback handling.
🚀 Benefits
✅ Ensures critical incidents are promptly assigned to the correct support team.
✅ Maintains balanced workload across team members, avoiding overloading a single user.
✅ Eliminates manual assignment errors, saving time and improving response efficiency.
✅ Enhances operational visibility and accountability in high-priority scenarios.
🛠️ Implementation
Table: Incident [incident]
Business Rule Type: Before Insert / Before Update
Trigger: When short description contains disaster or emergency
Pull Request Checklist
Overview
Code Quality
Repository Structure Compliance
Core ServiceNow APIs/Server-Side Components/Client-Side Components/Modern Development/Integration/Specialized Areas/Documentation
Restrictions