You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi All.
I was able to create an automation to create a task with a due date of the first day of the following month using the following formula in the due date field: {{now.plusMonths(1).firstBusinessDayOfMonth}}
However, I need to do the same thing but to create a due date for the second, third and fourth business day of the following month.
I tried this, but it gave me an error: {{now.plusMonths(1).secondBusinessDayOfMonth}}
Anyone know how to get this done?
Thanks,
Hi @Aaron Corbin and welcome to the community!
There are only two options for ...BusinessDayOfMonth - first or last. So you'll need to perform an additional calculation against it. I haven't verified myself, but you could try this:
{{now.plusMonths(1).firstBusinessDayOfMonth.plusBusinessDays(1)}}
If that doesn't work, you could try capturing the first business day as a variable and then the second business day as a variable off of that. Something like this:
varFirstBusinessDay: {{now.plusMonths(1).firstBusinessDayOfMonth}}
varSecondBusinessDay: {{varFirstBusinessDay.plusBusinessDays(1)}}
Thanks for the quick response. I will try this out!
For the second option, how would you enter the two variables into the due date field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You would only enter the second variable...
{{varSecondBusinessDay}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to clarify, for the second option, would you enter this:
{{varFirstBusinessDay.plusBusinessDays(1)}}
or this:
{{{{now.plusMonths(1).firstBusinessDayOfMonth}}.plusBusinessDays(1)}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes - That makes sense for the second option. Eliminates the need for the second variable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.