Set Default Value of Ref field to a group - Help Desk

ServNowDev
Tera Guru

I have the sys id of the group , but i have a reference field and i want to set the default value to a particular group such as help desk , i just placed the sys id directly in the default or is there a different way

 

Thomas42_0-1709851386306.png

 

2 REPLIES 2

AshishKM
Kilo Patron
Kilo Patron

Hi @ServNowDev , 

Yes, you can add the sys_id of default group under Default tab.

When form load first time, it will pre-filled with default assignment group. After you change this group to other group then update will save and reflect when open the record. 

 

-Thanks,

AshishKM


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

Harsh Vardhan
Giga Patron

@ServNowDev  If you dont want to add sys_id then you can use below method in default value, define name of the group. 

 

javascript:GetIDValue('sys_user_group', 'ACME Refrigerator Support');

 

Doc link:

https://docs.servicenow.com/bundle/washingtondc-platform-administration/page/administer/field-admini... 

 

Thanks,

Harsh