Repeating events with conditions

Support for our integrated Contact Manager, Calendar, and Project Tracker.
Posts: 50
Joined: Mon Dec 21, 2009 8:45 am
PostPosted: Mon Aug 23, 2010 5:39 pm
When creating an repeating event, my client often has events that have specific conditions. For example, repeats every 90 days, but if the repeat falls on a weekend it must back up to the previous business day - for example if it falls on a Saturday or Sunday drop back to the Friday. But the next repetition must be on the original 90 day increment (assuming it isn't on a weekend too).

Thoughts on the best way to accomplish this?
SeedCode Staff
SeedCode Staff
Posts: 2764
Joined: Thu Nov 20, 2003 11:01 am
PostPosted: Tue Aug 24, 2010 6:27 am
Sounds good.

You'll need to add logic for this within the repeat script itself.

The script that actually makes the events is "Create events from repeat list ( DateList )" and you'll see that it is pretty simple. After we set the date of the event in this script you can add logic to test for that date being a weekend, and adjust the date as necessary.

Hope that helps,

John
John Sindelar
SeedCode

Return to SeedCode Calendar

Who is online

Users browsing this forum: No registered users and 3 guests

(855) SEEDCODE
[email protected]
Follow us: