Hello there !  I’m trying to compare two dates fie...
# suiteflow
l
Hello there !  I’m trying to compare two dates field inside a workflow, but I did not succeed. I tried with simple values, to test, and found that the problem seem to come from the comparison operators. When I use == or != it works (1==3 returns false) but when using >, or >= and similar, it fails and the workflow hangs. Would anyone have a solution to this ? Am I mistaking the operators ? (>,<,>=, <= are mentionned in the suiteanswers)
m
I've noticed that using less than or greater than operators with dates in WF conditions has started to throw errors as well. Try doing a mathematical equation with your dates and then use your operator on that. For example ({date1} - {date2}) < 0
l
Thanks again @MGBC!