assigmentGroup_defaultvalue

yardenKrispel
Tera Contributor

Hi I need help! I made a script that as soon as I write down the name it automatically returns its sys_id to me, I made the script in script included and then I connected it with the default value and it doesn't work, I attached pictures of it I would appreciate help and corrections thanks

 

 

yardenKrispel_0-1700406344392.pngyardenKrispel_1-1700406375611.png

 

18 REPLIES 18

@yardenKrispel Instead of hardcoding the assignment group name on the dictionary, you should seriously consider creating an assignment rule https://docs.servicenow.com/bundle/vancouver-platform-administration/page/administer/task-table/conc... to populate Assignment group on a task record.

Community Alums
Not applicable

@yardenKrispel ,

 

Or just create a Client script - onLoad for that

yardenKrispel_0-1700409868684.png

 its not wotk

Dictionary.png