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

Notifications

Announcements

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
    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

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard