- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 01:16 AM
on change of gid, email and first/last name should auto populate from user table in catalog item
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 01:44 AM - edited 11-16-2023 01:54 AM
Hi @Shrabanti ,
In email variable there is auto populate table select dependent field as GID and dot walk path email for email variable and for first name variable use first name.
Make sure both first name and email type not reference make it to single line text the only it will work.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 01:30 AM
Create a onChange client script to be applied when the value in GID is changed.
https://www.servicenow.com/community/itsm-articles/on-change-client-side-scripting-scenarios/ta-p/23...
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 01:30 AM - edited 11-16-2023 01:35 AM
Hi @Shrabanti ,
GID field is reference to which table?
What exactly you want to populate in First Name/Last Name?
And why you created First Name/Last Name as reference field as sys_user table first name and last name is string field.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 01:40 AM - edited 11-16-2023 01:42 AM
hello @Anand Kumar P
GID field is reference to which table?
sys_user table
What exactly you want to populate in First Name/Last Name?
first name of user from user table
And why you created First Name/Last Name as reference field as sys_user table first name and last name is string field.
as per Recruitment they asked to make it reference field
Thanks,
Shrabanti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2023 01:44 AM - edited 11-16-2023 01:54 AM
Hi @Shrabanti ,
In email variable there is auto populate table select dependent field as GID and dot walk path email for email variable and for first name variable use first name.
Make sure both first name and email type not reference make it to single line text the only it will work.
Thanks,
Anand