Date Comparisons in Microflow.

0
I have a Microflow to compare two date like (trimToDays($Employee/Start_Date) >= trimToDays($Employee/End_Date)) in an Exclusive split and i'm calling this Microflow from the Before Commit Event of the $Employee Entity. On running the microflow it is displaying the error message but adding a row in the table. how do i stop it from adding a row when the condition is true. Please suggest , Thanks.
asked
2 answers
0

An event microflow returns a Boolean, you should return whether you want the event to succeed. You could simply move the expression to your end event, though then you should invert the expression so that it returns true when the dates are correct.

answered
0
  1. What error does it return?
  2. likely culprit is your permissions.
answered