cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JACK_LAI_1117
Resolver I
Resolver I

use to status code in condition status

HI support:

    Can I get the status code then use "Condiction" to judge this is "yes" or "no"

Annotation 2020-07-09 082819.png

1 ACCEPTED SOLUTION

Accepted Solutions
rsaikrishna
Dual Super User
Dual Super User

@JACK_LAI_1117 

 

I do not see your HTTP action name. For example: the name of your HTTP action is "MyHTTPAction"

 

outputs('MyHTTPAction')['statusCode']

 

This will give you the Status Code for your HTTP action. In your case, it will be 404.

 

4.JPG

 

Regards

Krishna Rachakonda

If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

View solution in original post

2 REPLIES 2
rsaikrishna
Dual Super User
Dual Super User

@JACK_LAI_1117 

 

I do not see your HTTP action name. For example: the name of your HTTP action is "MyHTTPAction"

 

outputs('MyHTTPAction')['statusCode']

 

This will give you the Status Code for your HTTP action. In your case, it will be 404.

 

4.JPG

 

Regards

Krishna Rachakonda

If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.

View solution in original post

@rsaikrishna 

Thank you for your reply . In this period I also check google , I found "https://powerusers.microsoft.com/t5/Building-Flows/How-to-determine-status-code-for-a-condition/td-p..." this article ,it also teach me how to solve my problem .

 

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Users online (1,845)