Aug 18, 2022 01:34 AM
Hello,
I would like to create a new static date when a checkbox is clicked. It should be [day the checkbox is clicked] + [X Days].
I’m actually using
IF({Follow-up 1 sent?} = 1, (DATEADD(TODAY(),2,"days")),BLANK())
However the Today() function keeps updating the date to … today. I’d like the newly created date to be static and not be incremented every day by the TODAY()
function.
Thanks
Solved! Go to Solution.
Aug 18, 2022 02:24 AM
Hide your formula field, and then you can automate the process of inserting 2 days from today when the checkbox is checked by inserting the results of your hidden formula field into a normal date field.
Aug 18, 2022 02:24 AM
Hide your formula field, and then you can automate the process of inserting 2 days from today when the checkbox is checked by inserting the results of your hidden formula field into a normal date field.
Aug 18, 2022 02:39 AM
Can you clarify “Hide your formula field” plz. Where should I add my formula?
Aug 18, 2022 02:45 AM
You aren’t actually required to hide it, except for cosmetic purposes. It serves no purpose except to feed the automation, so you don’t need to visually see it. But you do need it for the automation, because automations can’t calculate formulas on their own, so automations have to pull from formula fields that have already been created.
Aug 18, 2022 03:04 AM
Understood.
I’ve created a new formula field with updated formula but it doesn’t update the date.
IF({Follow-up 1 sent?} = 1, {Date for Follow-Up 2} = (DATEADD(TODAY(),2,"days")), {Date for Follow-Up 2} = BLANK())
Aug 18, 2022 05:47 AM
You could use your original formula from your original post, but I would scrap that formula and just use the simplest version of what you need, which is this:
DATEADD(TODAY(),2,"days")
Then, hide that formula field because you don’t need to see it.
Then, setup an automation that triggers when you check the checkbox. Set the automation’s action to update your brand new date field (which it doesn’t look like you have created yet) to be the formula field.
Aug 22, 2022 09:26 AM
Thank you. Its working.