Issues with the Calendar Event Condition
Posted: 24 Apr 2014 21:43
I'd like to report a (possible) bug in the Calendar Event condition, and request an extension of that condition (or a new, separate condition to handle the case described here):
Suppose you have a (not unreasonable) schedule that looks like this:
Using the Calendar Event condition
Currently, at either 2:00 PM or 2:18 PM the Calendar Event condition will report that the "Conference" event is active. It never reports the existence of "Seminar 1" or "Seminar 2" when the current time is within either of those events.
There may not be a good way to handle this (or any way at all, depending on what you can get from the calendar), but the current behavior seems wrong to me.
Related to this, I'd like to request a different way to query the calendar. Instead of the "before" and "after" time duration fields, have "beginning" and "ending" "from" and "to" times (with variable support). With those fields, a condition of "beginning" "from " 1:30 PM "to" 2:00 PM would report "Seminar 1" and a condition of "ending" "from" 3:00 PM "to" 3:30 PM would report "Seminar 2". A similar problem as described above would exist for "beginning" "from" 12:30 PM "to" 2:00 PM (because two different events begin in that time span), but reporting the first found would probably suffice since a flow could use the reported event's start time to check the condition again for "inner" appointments like "Seminar 1".
Obviously I haven't fleshed out the idea in detail but I think the general idea is clear.
Thanks!
Suppose you have a (not unreasonable) schedule that looks like this:
Using the Calendar Event condition
Currently, at either 2:00 PM or 2:18 PM the Calendar Event condition will report that the "Conference" event is active. It never reports the existence of "Seminar 1" or "Seminar 2" when the current time is within either of those events.
There may not be a good way to handle this (or any way at all, depending on what you can get from the calendar), but the current behavior seems wrong to me.
Related to this, I'd like to request a different way to query the calendar. Instead of the "before" and "after" time duration fields, have "beginning" and "ending" "from" and "to" times (with variable support). With those fields, a condition of "beginning" "from " 1:30 PM "to" 2:00 PM would report "Seminar 1" and a condition of "ending" "from" 3:00 PM "to" 3:30 PM would report "Seminar 2". A similar problem as described above would exist for "beginning" "from" 12:30 PM "to" 2:00 PM (because two different events begin in that time span), but reporting the first found would probably suffice since a flow could use the reported event's start time to check the condition again for "inner" appointments like "Seminar 1".
Obviously I haven't fleshed out the idea in detail but I think the general idea is clear.
Thanks!