How to create business rule .When ever incident is created it should assign to the user who has less numbers tickets and should assign to same group.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2022 06:09 AM
How to create business rule .When ever new incident is created It should assign Assignment group to particular group and it should assigned to the group member who is having less number of tickets
NEED SCRIPT
For example;
In hardware group there are 3 members A,B,C
A user has 2 tickets
B user has 4 tickets
c user has 7 tickets
It should assigned to A user when incident is created
Thanks
shiva
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2022 06:51 AM
Give me the sys_id of the CAB approval group
Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2022 06:55 AM
sys_id :b85d44954a3623120004689b2d5dd60a

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2022 07:03 AM
Here is the script. How to test: Create incidetn, assign to cab approval, save. It will autopopulate the assigned to. Since this is covering your qery, please mark Correct and Helpful.
Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2022 12:25 AM
Hello
thank you
it is not working

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2022 04:50 AM
Hi. If some answers have helped you, mark them Helpful and/or Correct in order to close the case. Thanks!
Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024