- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 05:36 AM
Hi , Kindly help me to achieve this .
I have two reference field ,
1st field refers to u_building (which stores locations) and
2nd field refers to u_cmdb_ci_server_virtual (stores VMs)
Based on location selected is first variable , 2nd variable should give VMs of that location
Sample record of u_cmdb_ci_server_virtual (stores VMs) with location refers to u_building (which stores locations)
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 05:47 AM
@Bindhu1 You should use the following reference qualifier on the second variable.
javascript:'location='+current.variables.<first_variable_name>
Here replace <first_variable_name> with name of the first variable.
Hope this helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 05:47 AM
@Bindhu1 You should use the following reference qualifier on the second variable.
javascript:'location='+current.variables.<first_variable_name>
Here replace <first_variable_name> with name of the first variable.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 06:20 AM
Thanks for replying , this filter giving all record, not sure where i am going wrong .tried with different filter
javascript:'location='+current.variables.select_the_data_centre
javascript:'location='+current.variables.select_the_data_centre.u_building_name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 06:58 AM
Hi @Sandeep Rajput , Thanks for your help.
This is working with below filter
javascript:"location="+current.variables.select_the_data_centre
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2024 06:19 AM
Hi @Bindhu1
Dud you try with depend way like we have category and sub category?
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]
****************************************************************************************************************