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.

 

Group

Description

2xx

Executes if ant HTTP code starting with 2 is return such as 200, 201,204 etc...

3xx

Executes if ant HTTP code starting with 3 is return such as 300, 301,303 etc...

4xx

Executes if ant HTTP code starting with 4 is return such as 400, 403,404 etc...

5xx

Executes if ant HTTP code starting with 5 is return such as 500, 501,504 etc...

6xx

Executes 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