Reference Qualifiers

vallabha180
Tera Contributor

Hello,

I have a catalog item with two fields:
“Related Application” (backend name: application_name)
“Select the Subscription where the VM needs to be restored” (backend name: requried_subscription_name)

I want the value from application_name to automatically populate requried_subscription_name. How can I achieve this using a Reference Qualifier or Client Script?

I tried using this reference qualifier, but it doesn’t work as expected

vallabha180_1-1742568877729.png

 

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @vallabha180 

 

Does this field exist on the same table and then you can use the auto-populate the feature as per your screenshot?

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Ankur Bawiskar
Tera Patron
Tera Patron

@vallabha180 

is application_name the correct field on Azure Subscription table?

1st variable is reference type or string type?

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

JohnnySnow
Kilo Sage

@vallabha180 If both are reference fields then try exploring these articles, I think this is what you are looking for here:

https://www.servicenow.com/community/developer-articles/auto-populate-a-variable-based-on-a-referenc...

 

https://www.servicenow.com/community/itsm-articles/dynamically-populate-values-of-a-reference-field-...

 

Please mark it as helpful or correct if it helped you resolve the issue or worked for you.

 

Thanks
Johnny

Please mark this response as correct or helpful if it assisted you with your question.