What?
A very quick article with a snippet of code to get today's date, tomorrow's, and the day after's but it has to skip Sundays.
Why?
Wanting to create a schedule for availability over the next ...
... Workflow
Set the Start date and time to tomorrow's date at 2:00am
Run Daily
Name the workflow Daily Delete Record
Click on Create Workflow
Give it the following code:
for each r_ApplicableRecord ...
... have already booked the requested dates off.
In other words, if there are 10 people in a department/team, and 8 people have booked tomorrow off, prevent a 9th team member booking tomorrow off.
...
We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies. Read more about our Privacy Policy.