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 / HTTP Request has Null ...
Power Automate
Unanswered

HTTP Request has Null values how do I use a condition to get past the Null values?

(1) ShareShare
ReportReport
Posted on by 516

My Flow works as long as there is an image in the column that the api is checking : Vehicle 2

 the Empty Photo fields are Ok. I just want to get past the Null Value for the Photo Fields that stops the flow.

 

SPSDEV22_2-1709141563432.png

 

 

The error gets thrown on the PARSE JSON-Photo2 it will sometimes have a null value. which means no photo added, which is fine. t

How do I setup a condition to check for Null value?

Would this work?
"type": "If",
"expression": {
"equals": [
"@outputs('Send_an_HTTP_request_to_SharePoint2')?['body']?['d']?['Vehicle_x0020_2_x0']",
"@null"
]
}

 

How do I setup the condition prior to the Jason Step and if there is a Null value continue, as it is OK to have Null values.  

 

I want the flow to run image or no image.

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

    Hi @SPS-DEV-22 ,

     

    Please try this

    vxiaochenmsft_0-1709176292291.png

    result('Scope')[0]['status'
     
    Best Regards,
    Wearsky
  • SPS-DEV-22 Profile Picture
    516 on at

    Ok, this looks interesting and possibly a solution.

     

    I do have a question::
    how do I setup the condition?

    SPSDEV22_0-1709220302228.png

     

    I was able to get the scope: 

    and I see a configure after run, but I cannot get it as a separate item like you are showing.

     

    Plus I get this error

    SPSDEV22_2-1709220691819.png

     

    Does this mean I need to put all of the flow items in the scope? or how do I get that condition?

     

    Also, when I set the Conditions to run after Success and or Fail

    it still has the issue with the Schema failing at Null.

    SPSDEV22_3-1709222130631.png

     

  • SPS-DEV-22 Profile Picture
    516 on at

    this did not work. it is something to do to keep the flow going but I still have the issue with a NULL value

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard