Calendar invitations in workflows
FollowA workflow status notification can include a calendar invitation. The most common example is the leave request workflow: when a request is approved, the absence is added to the calendars of the people specified in the notification.
This article explains when the invitation is sent, when it is updated, and how to set up the statuses that should cancel it. For the rules common to all invitations, see Calendar invitations: how they work.
When the invitation is sent
- The invitation is sent when the item moves into the status that has the notification, using the item's dates
- If you edit the item and save it without changing its status, nothing is sent, even if you changed the dates. This is by design
Updating an invitation that has already been sent
- Change the item's dates
- Move the item out of the status and back in, for example from Approved to Pending and back to Approved
Everyone who had the invitation receives an update to the same calendar entry.
Cancelling invitations from a status
A status cancels an item's calendar invitations only if the option "Cancel all calendar invitations of the item" is turned on.
- When an item moves into a status with this option, everyone who holds an invitation for that item receives a cancellation, along with the status notifications
- The status type makes no difference: a Final unsuccessful status does not cancel anything on its own
- If the item has no invitations, nothing is sent
Turn the option on for every status that should remove the event from the calendar. In the leave request workflow, for example, turn it on for both the Refused and the Cancelled status.
Turning the option on
- Click Settings > Application > Workflow
- Click the workflow, then the status
- Turn on Cancel all calendar invitations of the item
- Click Save
- Repeat for any other status that should cancel invitations
See also Creating and editing workflow statuses.
Recommended setup
Using leave requests as an example:
- attach the notification with the invitation to one status only: the one where the dates are final (Approved)
- turn on the cancel option for every status that calls the event off (Refused, Cancelled)
- do not put the invitation and the cancel option on the same status
- when the dates change, move the item back through the status that has the invitation
Notes
- Two statuses in the same workflow never share a calendar entry: if two statuses each have a notification with an invitation, two separate events appear in the calendar
- If a status has both the invitation and the cancel option, then when the item returns to that status the cancellation may arrive after the new invitation and remove the event from the calendar
- In Recruiting workflows, the option also cancels the interview invitations of the candidate who moves into the status: see Calendar invitations for interviews and meetings: changes and cancellations
- Lesson invitations are not affected by this option: they follow the rules described in Online meetings and calendar invitations for lessons
- Deleting an item always cancels its invitations, whether or not the option is on
- The invitation uses the time zone of the person who moves the item into the status, for example the person who approves a leave request. See Time zones in calendar invitations
Comments
0 comments
Please sign in to leave a comment.