The Condition element lets the flow continue only when its conditions are met. When creating a condition, you define how PalDock evaluates a response to decide whether it is successful. Each condition consists of four parts:
- Source – where to take the value from:
- Body – a field inside the response body
- Header – a response header
- HTTP code – the status code of the response (e.g. 200, 404)
- Constant – a fixed value defined manually
- Query – a query parameter in the response URL
- Key – the specific field or property to extract (the value in the response).
- Operator – how the extracted value should be evaluated (see Operators).
- Value – the expected value to compare against.
Example
- Source: Body
- Key: status
- Operator: equals
- Value: ok
This condition passes if the response body contains “status”: “ok”.

