- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2022 02:01 AM
I want to customize a user form in resource module in ServiceNow, where if I select the name of the person from User table (using reference field) then first name and last names should be picked and filled up in their respective fields. Currently what happening is, the complete name is getting filled in first name and last name field in the form.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2022 02:48 AM
Hello,
Why do you want to create new fields when you can dot walking User field and bring in First name , last name etc ? once you select User then automatically first and last name will be autopopulated without any code, why don't you try that ? see I have done for incident, I'm dot walking caller field and bringing first name, last name and it is working fine for me , see steps.
Mark my answer as correct if that helps.
Regards
Regards,
Musab

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2022 02:48 AM
Hello,
Why do you want to create new fields when you can dot walking User field and bring in First name , last name etc ? once you select User then automatically first and last name will be autopopulated without any code, why don't you try that ? see I have done for incident, I'm dot walking caller field and bringing first name, last name and it is working fine for me , see steps.
Mark my answer as correct if that helps.
Regards
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2022 01:17 AM
Hi Musab,
Thanks for your detailed solution. It was very helpful for me to figure out the issue I had.
Kind regards
Ankit