The CreatorCon Call for Content is officially open! Get started here.

Populate the Server cis on selection of application services

Community Alums
Not applicable

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.  

2 REPLIES 2

Neeraj31
Mega Sage

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!

Community Alums
Not applicable

@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 .