web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Filter query to filter...
Power Automate
Unanswered

Filter query to filter out devices with a null value

(0) ShareShare
ReportReport
Posted on by 2
I am using a filter array action to query a service now table and filter out CI's from the CMDB table which match a specific value in a custom attribute created. I am looking to update my query to exclude devices from the table if a specific attribute is blank.
 
My current query is below which filters devices in the cmdb_ci_wap_network table with the provisioning_status attribute value set to Ready for Provisioning.
 
and(
equals(item()?['sys_class_name'],'cmdb_ci_wap_network'),
equals(item()?['provisioning_status'],'Ready for Provisioning')
)
 
I am looking to update the query to filter on the same values, but also look at another attribute, in this case the MAC_Address, and exclude the CI if the mac address attribute is blank.
Categories:
I have the same question (0)
  • Verified answer
    MichaelFP Profile Picture
    1,847 Super User 2025 Season 2 on at
    Filter query to filter out devices with a null value
    you can try not(empty(item()['MAC_Addressfield']))
     
    If my answer helped you, please give me a thumbs up (👍). If solve your question please mark as answer ✔️. This is help the community.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard