- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 08:38 AM
Hi All,
I have issue on a catalog item variable autopopulate from backend.
I have created a new catalog item
Added 3 Variables
1. Requested for ( User reference table)
2. User Email ( Auto populate from user reference table dot-walkin EMAIL)
3. Reporting Manager ( Auto populate from user reference table dot-walkin EMAIL )
Issue : After submitting Request in service portal email is getting disappeared in backend (RITM View and SCTASK view) but i see manager field is working .
Manager
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 10:33 AM
User Email is a reference field, on the sys_user table, so it needs to populate the sys_id of a user record, which is what the Manager variable is doing since the Manager field on the user table is a reference to sys_user. The Email field is a type of email, which needs to be populated into a single line text type variable. You can populate this with an onChange Catalog Client Script using getReference.
Give the script a shot, and let me know if you get stuck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 10:33 AM
User Email is a reference field, on the sys_user table, so it needs to populate the sys_id of a user record, which is what the Manager variable is doing since the Manager field on the user table is a reference to sys_user. The Email field is a type of email, which needs to be populated into a single line text type variable. You can populate this with an onChange Catalog Client Script using getReference.
Give the script a shot, and let me know if you get stuck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 05:43 AM
Thanks @Brad Bowman ,
Changed Variable type to Single line text and It worked 🙂
Thanks,
Rajkumar Bokkena
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2024 11:16 AM
Glad to hear. You are welcome!