Fields are not auto populating for a catalog form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
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
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.
