Hello all. I have created workflows for when an event is created and cancelled on an outlook calendar. Here are outlines of each workflow:
Event Created
- When a new event is created (Trigger)
- Get event: Item ID (When a new event is created)
- Get calendar view of events: Start time (Get event), End time (Get event)
- Filter Array: From (get calendar view of events), ID (When a new event is created) is not equal to ID (get event)
- Condition: length(body('Filter_array')) is less than or equal to 0
- Yes: respond to an event invite, ID (Get Event), Accept
- No: respond to an event invite, ID (Get Event), Decline
Event Cancelled
- Recurrence: Interval (2), Frequency (Minute)
- Get Events
- Apply to Each: Output (Get Events)
- Condition: Subject (Apply to Each) contains Canceled:
- Yes: Delete Event (Apply to Each)
- No: Do Nothing
I am running into a wall when trying to create a workflow to respond to events, using the trigger "when an event is modified (v3)". General idea is to have it accept the modified event if there are no scheduling conflicts, and decline if a conflict exists. Any suggestions on how to structure this workflow? Thank you in advance for the help.