I am using the following parameter which should validate empty string and show the error message, but the validation message should disappear if there is an non empty string input for the parameter. But the parameter is not working. Does anyone have any idea? I searched, but couldn't find anything. Please help.
parameters {
validatingString(name: "test", defaultValue: "", regex: /^(?!\s*$).+/, failedValidationMessage: "Validation failed!", description: "test desc")
}