Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Copy reference field value into string field

chanikya
Kilo Sage

i have Group field(reference)     in KB record so when i select the group name in KB record then that group name should be upadte in KB Group field(string type) of Approval table.

find_real_file.png

find_real_file.png

1 ACCEPTED SOLUTION

Hi Karthik,



Replace,


var one = current.u_group;


with


var one = current.u_group.getDisplayValue();




Thanks,


Maddy


View solution in original post

6 REPLIES 6

Hi Karthik,



Replace,


var one = current.u_group;


with


var one = current.u_group.getDisplayValue();




Thanks,


Maddy


Hi Madanm,




Thanks for your help...!


it is working now!!