n one of our workflows there is a validation done in order to check if a column/value it's a numeric value or not.
The expression is working with numbers higher than 0,09. IF values are lower or equal to 0,09 then if fails.
IF REGEX_Match(ToString([XXXXXXX]), "^\d+(\.\d+)?$")
THEN ""
ELSEIF
IsEmpty([XXXXXXX])
THEN ""
ELSEIF
REGEX_Match(ToString([XXXXXXX]),"^\d+(\.\d+)?$")
THEN
"XXXXXXX - Input must be positive values only"
ELSE
"XXXXXXX - Input must be numbers only"
ENDIF
I've tried replacing the expression with "^\d{1,3}(,\d{3})*(\.\d+)?|\d+$" but it didn't work.
Does anyone know how to solve this issue?
Thanks!