10-05-2017 12:58 PM
Hod do you validate if a date field is not null in data validator snap. I have tried setting the field as “Required” and the constraint value to “True” it does not work
10-05-2017 03:30 PM
I also didn’t quite understand the “required” function in the validate snap. You could use $[FIELD] != null in a filter snap instead to get the same effect.
10-06-2017 06:10 AM
Thanks. We wanted to take advantage of the data validator snap’s error output ability. We ended up adding a mapper in front of the data validator snap to convert them to boolean strings (“true”/“false”) and using the pattern matching on data validator.
It would be good to have some clarity on how “Required” works. According to the documentation “Required” should work for all data types. We also tried to validate the date using “Type” validation for “date”, that didn’t work too.
The validator appears to be working good only for string types.
10-06-2017 08:14 AM
I’ll let the Doc Team know.