Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Fields are not auto populating for a catalog form

aravind1patil1
Tera Contributor

Dear ServiceNow Community friends,

 

I had below issue, if you can check and provide the solution. It is really great help & appreciate your response

 

I am creating a catalog form & below is the requirement

While filling the catalog item form, these fields should be auto populate from the user table

1. Department 

2. Position Title

3. Email

 

Where as it reflects: Department ID, with its 'sys_id', but not with its value. I have attached the screenshot for your reference, please check. Position Title & Email id is not reflecting too

 

I have also used client script. Attached two screenshots, please check. Seems there is some conflict with these two scripts. When I activate each one separately, its sys_id is reflecting, when activated both its not working at all.

 

Your help is highly appreciated

 

Thanks

 

1 REPLY 1

MAHAMKALI
Giga Guru

Hi @aravind1patil1 

You can utilize auto populate feature in the catalog item to populate Department (other user related fields)
Open your Department variable select Auto-populate tab
Screenshot 2026-04-09 095700.png
in here:
Dependent question will be your user variable (subject_person_req) and Dot walk path is User.Department.Name (you can select this from the hierarchal tree). This method is very efficient, and you can use the same logic for other variables without using script.

 If my response helped, please mark it as correct.

Regards,
Kali.