cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pwapp
Frequent Visitor

How to get the HTTP response status code from Flow?

Deleted
1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hey @pwapp 

 

Please have a look at the screenshots below:MicrosoftTeams-image (136).png

If you can share more details on the scenario that you are trying to build, we might be able to assist you better. 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

6 REPLIES 6
yashag2255
Dual Super User II
Dual Super User II

Hey @pwapp 

 

Please have a look at the screenshots below:MicrosoftTeams-image (136).png

If you can share more details on the scenario that you are trying to build, we might be able to assist you better. 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

pwapp
Frequent Visitor

Hi @yashag2255 , 

Thank you for taking the time to reply - I figured it out in the end - very easy to access the http response object in Flow! Thank you for your help anyway. 

 

How did you get the response status code from the Flow @pwapp ?

How did you get the response status code from the Flow @pwapp ? 

I have a http request, after which I added an initialize a variable by the name of responsecode doesn't get anything. 

 

Don't show how to get response code or other headers attributes clearly

NielsHakkers
Frequent Visitor

@MWAN I may be late to the part, but the answer can be found in a different thread.

 

Use:

outputs('ActionName')['statusCode']

And replace ActionName with the name of the action block for which you are trying to get the HTTP status code.

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,916)