Store Requested For details in a description field

Shaik22
Tera Expert

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.

2 REPLIES 2

Sohail Khilji
Kilo Patron
Kilo Patron

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....

LinkedIn - Lets Connect

Rahul Talreja
Mega Sage
Mega Sage

Hi @Shaik22 ,
I have Shared the code in thread Re: User details showing sys id's - ServiceNow Community
I hope it works for you

Please mark my response correct/helpful as applicable!
Thanks and Regards,
Rahul