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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Conditional rule for m...
Power Automate
Unanswered

Conditional rule for missing JSON Data

(0) ShareShare
ReportReport
Posted on by

Hello

 

I am trying to write a condition which identifies if a value is in a set of JSON data or not. I have built a custom connector to receive information about some devices. This then loops through each device and inputs the desired information into SQL. One of the devices is missing some of the required peices of information at which point the flow fails. 

 

Is there a way to write a condition maybe to check if that vaule exists. Or is there a way to just say carry on if there is no data for a device? 

 

I have tried the following query but that doesnt seem to work - contains('Parse Chrome Device','activeTimeRanges')

 

Here is the JSON data

01JSON.png

 

Is is my completed flow

 

01Flow.png02Flow.png

 

This is the error i have been getting

01Error.png

Categories:
I have the same question (0)
  • v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @adamjohnson42,

     

    You can use the empty() function to check the value of activeTimeRanges, if it is null, it will return a true boolean value.

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard