VMware Aria Automation Tools

 View Only

 Aria Automation 8.18.1 Using multiple tag filters on api calls... seems like only the first one works.

qc4vmware's profile image
qc4vmware posted May 07, 2025 05:15 PM

I'm trying to query the fabric networks and I want to return all networks tagged with "placement:TEST" and NOT "placement:closed".

My filter looks like this :

(tags.item.key eq 'placement' and tags.item.value eq 'TEST') and (tags.item.key eq 'placement' and tags.item.value ne 'closed')

When I use this filter it seems like only the first statement gets evaluated.  I get a set back that is all of the networks tagged with TEST.  I'm then additionally filtering out the closed items with an array filter in my code but I'd much prefer a single call to the api.  Is this a limitation of the api filtering, a bug, or did I not get it quite right?