Script Include| Client Script CMDB scope
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2024 11:21 AM
I have a variable named " Name" on catalog item which is referencing to cmdb_ci_service table, based on the service selected in Name field,
I have another variable name " Related Service" in which I want to get the "Related application service" corresponding to the service selected in name field, as the only relation I find glide " cmdb_rel_ci" table were the service name I am selecting is present in parent field check all those, copy all corresponding child application service and show in " Related Applicaiton" service list.
how can I get it in drop down of "" Related Application Service" field?? ServiceNow code, client script and script include for it as I am not handy with code my code is working halfway.
Please suggest.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-27-2024 05:02 PM
Hello @Ankita NA
You don't need to write the Client script for this scenario. You have to write a advanced refere qualifier on the "Related Service" variable which takes the values from the "Name" variable and return the related application services by gliding the relationship table.
BTW, Did you tried anything from your end? If so, please post here what you tried and where you stuck.
Murthy