I have two collections that I would like to join together, or find a way to incorporate both expressions into one collection.
We will be having two internal departments using the same instance of Monitor, so I need to make sure our components are separate. All of my components are either labeled as Forestry:Production or are a service originating from a specific internal address. I do not wish to rely on a label for services unless there is a way to automatically label a service when someone creates one?
For the regular components I have the following expression:
and for all my services I have the following:
I have tried multiple combinations but nothing seems to work. I think it is the Having clause that is messing it up... Any help would be greatly appreciated!
Thanks,
René
René, would this work?
Explanation: Get all components with status of "Error" that have the the label whose ID is 4 and include all child components with a status of "Error".
If you have an ArcGIS Server component with status of Error and it has the label with ID of 4, that component and all child service components with status of "Error" would be included in the collection.
Josh
As a side note, could you explain how the Including Parent Child works?
Hi @GeoJosh
I have noticed other strange behavior when creating expressions. I created a collection for server restarts as follows:
Seems to work fine, however, when I leave the collection then go back to the collection and into the settings and look at the expression I get the following and an error appears even though I did not touch anything...
Hi René,
This may require a deeper look than what we can do on the forum. Can you submit a case with Esri Support on this?
Josh