Store Requested For details in a description field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2023 12:14 AM
Hello,
Created catalog item in that 2 variables requested for(reference to user table) and description(Single line text).Requested For's - email,department,location details should be populate in description variable.How to achieve this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2023 12:33 AM
Dear Shaik,
If you're on the new version of ServiceNow make use of Auto-Populate field option on the catalog variable to achieve this. If not, Then you need to use the on-change client script to update field using glide Ajax call back.
Refer the below link to build your logic :
https://www.servicenow.com/community/developer-articles/glideajax-example-cheat-sheet/ta-p/2312430
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2023 11:31 PM
Hi @Shaik22 ,
I have Shared the code in thread Re: User details showing sys id's - ServiceNow Community
I hope it works for you
Thanks and Regards,
Rahul