Automatically Populate a Catalog Item Variable Based on Another Variable Selection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
There are 2 variables : 1. Application(Look up Select Box) referenced to cmdb_ci_service table with the below reference qualifier
2. SQL Server Name(Reference type) referenced to cmdb_ci_win_server table with the below reference qualifier
Based on the Application Selected related servers should be listed down in the SQL server Name reference variable. I have tried using 'cmdb_rel_ci' table by using script include & On Change Client Script based on the Parent & Child Relationship as parent is Application & server is Child but looks like it didn't work.
Do we know any other way for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
you can filter 2nd variable based on 1st
Also in variable attributes of 2nd variable you should give this so that it grabs the latest value of 1st variable
ref_qual_elements=application
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader