Number
This filter allows you to treat a string from the input Message as numeric value and apply some operator on it (for example, check if this field contains a number greater than X).
Parameters
Parameter | Type | Default | Description |
---|---|---|---|
target | STRING | “main” | the field of the Message that should be used for the filter (it could be main or and extra field) |
op | STRING | "" | Compare operator to use for the numeric value (">", “>=”, “<”, “<=”, “!=”, “==") |
value | STRING | "” | It has to be a numeric value and it is the number to use for the comparison |
... | number(target="num_field", op=">=", value="44") | ...
Output
If the comparison is verified the received Message will be propagated.
Examples
Soon…