- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2023 08:53 AM
How can I configure a ServiceNow Business Rule to automate the assignment of incidents to specific support groups based on a combination of incident attributes, including priority, category, and location, and send email notifications to both the assigned group and the reporter?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2023 11:04 AM - edited ‎10-23-2023 11:05 AM
(function executeRule(current, previous /*previous*/) {
var priority = current.priority;
var category = current.category;
var location = current.location;
var assignmentGroup = findAssignmentGroup(priority, category, location);
current.assignment_group = assignmentGroup;
})(current, previous);
email.send(assignmentGroup, current, "Incident Assigned", "Your incident has been assigned to the support group.");
email.send(current.caller_id, current, "Incident Assigned", "Your incident has been assigned to the support group.");

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2023 09:47 AM
Hi @VaHogin734 ,
You don't have do it the business rule please explre assignment rules :https://docs.servicenow.com/bundle/vancouver-platform-administration/page/administer/task-table/task...
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2023 09:51 AM
@VaHogin734 Assignment rules are better alternative than business rules in this case. Please refer to this documentation to know more about them https://docs.servicenow.com/en-US/bundle/vancouver-platform-administration/page/administer/task-tabl....
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2023 11:04 AM - edited ‎10-23-2023 11:05 AM
(function executeRule(current, previous /*previous*/) {
var priority = current.priority;
var category = current.category;
var location = current.location;
var assignmentGroup = findAssignmentGroup(priority, category, location);
current.assignment_group = assignmentGroup;
})(current, previous);
email.send(assignmentGroup, current, "Incident Assigned", "Your incident has been assigned to the support group.");
email.send(current.caller_id, current, "Incident Assigned", "Your incident has been assigned to the support group.");