Assert Value
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
Name
Description
Default value
Mandatory
Expanded
value
Value to assert
regex
Regular expression
{
"name": "AssertValue",
"config": {
"value": "${request.username}",
"regex": "[a-z]{8,}"
}
}