Script Include| Client Script CMDB scope

Ankita NA
Tera Contributor

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.

1 REPLY 1

Murthy Ch
Giga Sage

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.

 

Thanks,
Murthy