Hello,
I am using decision stage to check whether the age of a person is greater than 18. I am using this expression DateDiff(0, [Coll1.Date of Birth], Today()) > 18. Date of Birth is in date format. When I evaluate it using evaluate expression it shows the correct result for different cases. But while running my whole flow it is giving always result as True. It never fails. My data also contains the date of birth where age is less than 18. I am not able to understand what mistake I am doing. Please help me out.
Thanks in advance.
I am using decision stage to check whether the age of a person is greater than 18. I am using this expression DateDiff(0, [Coll1.Date of Birth], Today()) > 18. Date of Birth is in date format. When I evaluate it using evaluate expression it shows the correct result for different cases. But while running my whole flow it is giving always result as True. It never fails. My data also contains the date of birth where age is less than 18. I am not able to understand what mistake I am doing. Please help me out.
Thanks in advance.