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.
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.