List Collector Variables - Dependent on a Value of List Collector Variables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2024 03:37 AM
I have lister collector variable 1 which show values of sys_class_name=cmdb_ci_business_app and I want to make another list collector who's value depend upon the selection variable1 value and only show of sys_class_name=u_cmdb_busapp_instance which are part of above variable1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-16-2024 01:15 AM - edited 09-16-2024 01:16 AM
@keshav77 Based on your use case above, please find my implementation steps
1. Created a form with two list collector variables
2. List Collector - 1 is linked to a Windows Server table (cmdb_ci_win_server)
3. List Collector - 2 linked to the same table for demonstration purpose to list only the value selected on the first variable.
Make sure to update the variable value appropriately, javascript: current.variables.<first variable>. I have opted Sys ID for demo purpose. You may filter based on the respective field.
Results :
When no value is selected,
On selection of List Collector - 1 value,
Reference Link : https://www.servicenow.com/community/developer-forum/advanced-reference-qualifier-on-catalog-item-va...
Sujatha V.M.