Assert Value
Configuration reference for the Assert Value Pipes valve and its supported options.
Introduction
Section titled “Introduction”Valve for asserting the result of an expansion expression.
Applies a regular expression on the expansion result. If value is null or expression doesn't match; Flow will fail.
Use this valve validate the input to your pipe.
Configuration
Section titled “Configuration”| Name | Description | Default | Mandatory | Expanded |
|---|---|---|---|---|
value | Value to assert | |||
regex | Regular expression |
{ "name": "AssertValue", "config": { "value": "${request.username}", "regex": "[a-z]{8,}" }}