Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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.

  • SPS-DEV-22 Profile Picture
    516 on at
    Re: HTTP Request has Null values how do I use a condition to get past the Null values?

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

  • SPS-DEV-22 Profile Picture
    516 on at
    Re: HTTP Request has Null values how do I use a condition to get past the Null values?

    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

     

  • v-xiaochen-msft Profile Picture
    on at
    Re: HTTP Request has Null values how do I use a condition to get past the Null values?

    Hi @SPS-DEV-22 ,

     

    Please try this

    vxiaochenmsft_0-1709176292291.png

    result('Scope')[0]['status'
     
    Best Regards,
    Wearsky

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492