He guys,
I have a workflow which executes 2 days before a Date Time field (Departure Date) by sending a Notification Email to a client.
So if for example I will add in the Departure Date "May 3, 2024 09:30AM" then at "May 1, 2024 09:30AM" it will send an email to a client.
That works fine.
I would like to add a condition which will say "if the today date is less than 2 days prior to the Departure Date then send an email immediately (instant action)"
for example, today is 28/4. If the Departure date is 29/4 then send immediately an email
else if the Departure date is 3/5 then send an email at 1/5
else if the Departure date is 10/5 then send an email at 8/5 and so on.
My problem is that I do not know how to "compare" the today date with the departure date in a workflow so if the difference of these 2 is less than 2 dates then to send an instant email to a client.