Populate the Server cis on selection of application services

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 02:58 AM
Hello Team,
I have one field called "Application service " which refers to (cmdb_ci_service_discovered) on selection of application service we need to populate Server cis refers to (cmdb_ci_server ) in next variable. we need to populate this in catalog item.
Variable 1 - Application Service ( If i select A from drop down of application services )
Variable 2 - server cis ( We need to populate server cis related to A in this field .
Please Advise.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 07:09 AM
Hello,
Create catalog Client Script "OnChange" of "Application Service" field.
Create a script include which will return the required server cis and call this script include from above Catalog client script and set server cis with the returned value.
Thanks,
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2024 07:37 AM
@Neeraj31 Could you please tell us we need to populate cis with selected application service . with example can u explain as i am new to the script .