We are creating Groups using REST Api and Powershell. The groups are getting created but there is a problem.@@
How can i include 2 conditions in a single dynamic query. I know that i can include multiple dynamic queries, but when i include multiple queries they become OR condition.
Like when i create member as this snippet
$members = @(
@{ Name = "$city City Node"; Definition = "filter:/Orion.Nodes[CustomProperties.City='Austin']" },
@{ Name = "$city Node Dependency"; Definition = "filter:/Orion.Nodes[CustomProperties.Dependency_BreakDown='Edge_Parent']" }
)
It will create two different dynamic queries.
But i want to create a single dynamic query such as the City for the Node must be Austin AND Dependency_BreakDown must be Edge_Parent
Any help would be appreciated
Attaching the working script for people like me who are searching for solutions