Quantcast
Channel: THWACK: All Content - Orion SDK
Viewing all articles
Browse latest Browse all 2677

Adding multiple filters to the group member definition ?

$
0
0

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

tdannermesverrum


Viewing all articles
Browse latest Browse all 2677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>