How to set default value to assignment group?

swathigangadhar
Tera Expert

How to set default value to assignment group on incident form?

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Swathi,



you can set it using default value by giving the sys_id in default value. But create dictionary override since it is task based field and you only want this for incident table. Go to incident form, configure dictionary for assignment_group. there you will see a related list for Dictionary override -> click new and below form will open


populate the sys_id of the group you want as default value.



dict-overirde.JPG



Or else you can populate that in onLoad script.



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

6 REPLIES 6

Anurag Tripathi
Mega Patron
Mega Patron

Hi Swathi,



Just have an onload client script on incident form and populate the assignment group in there. I guess that is the easiest way to do this.


-Anurag

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Swathi,



you can set it using default value by giving the sys_id in default value. But create dictionary override since it is task based field and you only want this for incident table. Go to incident form, configure dictionary for assignment_group. there you will see a related list for Dictionary override -> click new and below form will open


populate the sys_id of the group you want as default value.



dict-overirde.JPG



Or else you can populate that in onLoad script.



Mark Correct if this solves your issue and also hit Like and Helpful if you find my response worthy based on the impact.


Thanks


Ankur


Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

I would strictly advice NOT TO use the default value in dictionary as it goes and updates all the blank columns in the entire table which can , in a lot of situations, have a very negative impact on the performance.


-Anurag

Hi Swathi,



You may use an assignment rule with default condition(there might be some condition when you want a default assignment group, you may define that) to populate default assignment group.



Just go to System Policy > Rules > Assignment and create new rule as per your requirement.


find_real_file.png



Hope this will help you.



Please like or mark correct if this helps you.



Thanks & Regards,


Bhoomika Bisht