Show Not related servers of an Application Ci in a List Collector

Sai Pavan
Tera Contributor

Hi Community !!
In a custom UI view of a catalog form there is a Application CI reference variable and 2 list collectors variables. The first List Collector variable should show all the servers which are having existing CI relationship with the Application CI and the Second List Collector variable should show all the servers which are not having CI relationship with the Application CI.
I am able to get the existing CI relationships of Application Ci in the List collector but when I try to get the list of servers which are not having CI relationship with the Application CI the catalog form page times out and the list collector variable shows only 'Loading' 
Here is the script I used to get the List of related servers - 

SaiPavan_0-1722601336782.png

 

Here is the script I used to get the 'Not related' List of servers -

SaiPavan_1-1722601424747.png


Please let me know how to modify the above script to get the list of not related servers in a List collector variable.



0 REPLIES 0