Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I am creating a set of monthly tasks in automation rules and each task has different start and end dates.
for example task 1 - start date first Monday End date after 2 weeks i.e. second Friday.
task 2- start date second Monday and End date after 2 weeks
right now I am using the smart values to set these dates, like
startdate = {{now.plusMonths(1).ofTheMonth(1, 1)}}
enddate = {{now.plusMonths(1).ofTheMonth(2, 5)}}
This way only works if the month is starting on a Sunday or Monday. How to calculate it if the month is not starting on any other day? or is there a way in smart values to get dates based on the current year and month?
Hi @Rekhadevi Velur I'm not sure I understand it correctly...you need to have startdate and enddate always in next month? Can you describe it in more detail pls?
Yes. I am creating tasks for next month and setting their start and end dates.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hm, your smart values look correct to me. What value is set if the beginning of the month is not Sunday or Monday?
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.