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.

shiva narayana
Kilo Contributor

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

10 REPLIES 10

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

sys_id :b85d44954a3623120004689b2d5dd60a

 

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.find_real_file.png

 


Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024

Hello 

thank you 

it is not working

Martin Ivanov
Giga Sage
Giga Sage

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