/
HTTP Condition

HTTP Condition

HTTP conditions can be used to control if a child action shall run or not.

It takes a comma-separated list as input of  HTTP codes.


GroupDescription
2xxExecutes if ant HTTP code starting with 2 is return such as 200, 201,204 etc...
3xxExecutes if ant HTTP code starting with 3 is return such as 300, 301,303 etc...
4xxExecutes if ant HTTP code starting with 4 is return such as 400, 403,404 etc...
5xxExecutes if ant HTTP code starting with 5 is return such as 500, 501,504 etc...
6xxExecutes if ant HTTP code starting with 6 is return such as 600, 601,604 etc...

Example 1. The child action should run on only on 200 code and 300

200,300

Example 2. The child action should run on only on all 2xx codes 

2xx

Example 1. The child action should run on only on 500 code and 4xx

500,4xx

Related content

User Guide
Read with this
Action Conditions
Action Conditions
More like this
Data storage
Read with this
Catch Actions - Fallback when something does not go as expected
Catch Actions - Fallback when something does not go as expected
More like this
Escape JSON chars in URL or body
Escape JSON chars in URL or body
Read with this
How to Test an action
How to Test an action
More like this