Round Robin Assignment Rule

amitroy
Tera Contributor

How can I create an assignment rule on the task and incident table both so that the rule can assign incidents and the tasks to the a particular group in Servicenow.

Also, the assignment of the tickets (both task and the incident) should follow a Round Robin style of assignment.

27 REPLIES 27

Hi Jamsta1912,

I was hoping you could help me.  It appears your solution is working the best so I am running with this, however I have run into a situation that I am not sure how to get out of.  I do not typically have a programming background, so this may be an easy DUH moment for those reading this, however the issue is if I set to run the Business Rule all the time, it will overwrite a manual assigned_to (tech assigns to specific person).  I changed the Business Rule to when Assignment Group Changes and it essentially does the same thing.  I am really trying to get the rr.last_assigned_to to get set all the time, so that when a manual assignment occurs, it will then round robin to the next one.

 

Currently it is overwriting the manual assignment with the RR one OR it is not updating the property when a manual assignment is set (with conditions set to not run when that happens).

We are on Quebec and it is all running well with the exception of above.

Hello 

 

is this not showing error message in Service portal

 

Cannot update property name : property Name 

 

Its is showing for me 

 

How to fix this 

Hi Jamsta, 

After running the code, an error appears: 'TypeError: Cannot set property "assigned_to" of null to "46d44a23a9fe19810012d100cca80666"'

What's the matter?