- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2022 12:55 AM
Hi,
We have a requirement for making a list collector field (server) to show choices based on the values of variables selected previously (environment, operating system and application). We have a table including these 4 fields. There is a field in the table (Type) to differentiate the data from Application or Server.
What we need is a reference qualifier on the server variable to populate choices with :
1. Type is Server, filter the choices based on the selected application, environment and operating system variables.
My script: javascript:'current.variables.server='+'^u_type='server+'^u_environment='current.variables.environment+'^u_operating_system='current.variables.operating_system+'^u_application='current.variables.application;
Thanks.
Solved! Go to Solution.
- Labels:
-
Request Management
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2022 02:34 AM
Hi
please try this
javascript:"u_type=server^u_environment="+current.variables.environment+"^u_operating_system="+current.variables.operating_system+"^u_application="+current.variables.application;
Also ensure in the variable attributes of the list collector you add this
ref_qual_elements=environment;operating_system;application
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2022 02:09 AM
Hi,
Try this
javascript:'u_type=server^u_environment='current.variables.environment+'^u_operating_system='current.variables.operating_system+'^u_application='current.variables.application;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2022 02:19 AM
Hi,
Try this script. It should work-
javascript:'u_type=server^u_environment='+current.variables.environment+'^u_operating_system='+current.variables.operating_system+'^u_application='+current.variables.application;
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2022 02:24 AM
Hi,
Could you please check with below:
javascript:"u_type=server^u_environment="+current.variables.environment+"^u_operating_system="+current.variables.operating_system+"^u_application="+current.variables.application;
Please mark my respsone as helpful/correct, if it answer your question.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-06-2022 02:34 AM
Hi
please try this
javascript:"u_type=server^u_environment="+current.variables.environment+"^u_operating_system="+current.variables.operating_system+"^u_application="+current.variables.application;
Also ensure in the variable attributes of the list collector you add this
ref_qual_elements=environment;operating_system;application
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader