function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
KeeganKeegan 

Dates not comparing in visual flow and Record Update Creating New Record

Hello,
I have a flow which needs to compare to dates using greater then, less then, and equal to. For some reason my comparisons aren't working. For example, even when I say Start_Date less then loanvardate. It still brings in records where the start date is equal to loan var date. Is there something I am doing wrong?
User-added image
Also, I have an record update that seems to create a new record everytime instead of editing the record (the above lookup is set to the currentoutstanding variable). What would cause this to happen?
User-added image
Thanks!

 
KeeganKeegan
Hi, 
Both fields being compared are dates and not datetime. I followed the advice/help in these links but it's still not working.
Alain CabonAlain Cabon
Did you watch at the log (just open the Developer Console and relaunch your flow)?

In the tab: "Logs", you should get some details of your flow execution.
Yevhen VoronkoYevhen Voronko
I've added a formula variable Resource in the Flow with the actual comparison of the dates and then further on checking if the variable is True or False.