I am trying to make some of our rules more efficient and cut down on the amount of rules needed for auto tags. Does anyone know if it is possible to add an OR statement as part of the syntax below?
type(CONTAINER_GROUP),toRelationships.isInstanceOf(type(CONTAINER_GROUP_INSTANCE),fromRelationships.isCgiOfNamespace(type(CLOUD_APPLICATION_NAMESPACE),entityName.startsWith("example1")))
For example, I want to select multiple namespaces in this case, like:
example1 OR example 2 OR example 3 And so on.
Is that even possible using entityName.startsWith?
The following works as an OR but it is based on the ID of the namespace as to where I want to do the same but, by the namespace name instead which does not seem to work.
type(CONTAINER_GROUP),torelationships.isInstanceOf(type(CONTAINER_GROUP_INSTANCE),fromRelationships.isCgiOfNamespace(type(CLOUD_APPLICATION_NAMESPACE),entityId("CLOUD_APPLICATION_NAMESPACE-1234","CLOUD_APPLICATION_NAMESPACE-5678")))
Thanks!