Assignment group

yardenKrispel
Tera Contributor

Hi I need help! I need to put a certain group in the Assignment group field, a group that will always be there. I did it by copying the sys_id and putting it in the default, but now I need to change that instead of copying the value itself, I want to write a function there that will return the sys_id of the group. Can you help me how do I write the function in the default value that contains the sys_id? Thanks!

 

I am sending a picture where the code should be 

yardenKrispel_0-1700402388008.png

 

1 REPLY 1

Bert_c1
Kilo Patron

Hi,

 

I suggest that you do not modify the dictionary record. All child tables of task will be affected. Use a Client Script defined on those tables where you want a specific group value.  See examples in your instance:

 

https://[instance_name].service-now.com/sys_script_client_list.do?sysparm_query=sys_class_name%3Dsys_script_client%5Efield%3Dassignment_group&sysparm_view= 

 

4 of those in my instance use GlideAjax for server-side access.