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

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

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.

Users online (2,840)