Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

catalog item field auto populated

Deepika Ravindr
Tera Contributor
 
2 ACCEPTED SOLUTIONS

@Deepika Ravindr 

That's fine.

What I am saying is there is no script required to auto-populate the text variables whenever user selects the catalog item reference variable.

If you use Utah's auto-populate feature it will happen without script.

Did you explore that?

I already provided solution in the form of link for that feature. you just need to configure it for your text variables as dependency on the reference variable

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

Vishal Birajdar
Giga Sage

Hello @Deepika Ravindr 

 

The solution given by Ankur is more feasible and easy.

 

e,g.,  If you want to populate 'Short description' of catalog item which you have selected in "Please select catalog item to update" then go to the Variable "Short description" (your variable name may be different) and use "Auto Populate" option.

 

Dependent Question =  Please select catalog item to update

Reference = will be auto populate

Dot walk path = short description

 

Please see the below screenshot

 

VishalBirajdar7_0-1694435366787.png

 

 

 

 

 

 

 

 

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

View solution in original post

8 REPLIES 8

Sohail Khilji
Kilo Patron

Hi @Deepika Ravindr ,

 

Can you let me know what must be update on those fields ?

 

 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Yah, working

Ankur Bawiskar
Tera Patron
Tera Patron

@Deepika Ravindr 

You can use Utah's auto-populate feature and it will work whenever you change the reference variable

Auto-populate a variable based on a reference type variable (Utah) 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

working