cancel
Showing results for 
Search instead for 
Did you mean: 

Outlook 365 'When an event is added, updated or deleted' Trigger delete action type does not return metadata for the deleted event

When the Outlook 365 when an event is added, updated or deleted is triggered for a 'deleted' action type the 

GraphCalendarEventClientWithActionType only returns values for Action Type & id.

The other values return null.

It would be useful if the original metadata from the Event was returned. 

 

Use Case : utilising a trigger condition were event category contains "Client Appointment".

Trigger condition applies for 'added' and 'updated' action type as "categories" value contains "Client Appointment"

Trigger condition does not apply for 'deleted' action type as category value returns as "categories": null

 

This means that instead of limiting triggers we need to have the flow trigger for all interactions so it can pick up when an event is deleted resulting in many more flow runs then is required.

Status: New
Comments
Yohlanna01
New Member

I found a work around for the issue with the delete action with the trigger 'When an item is added, updated, or deleted." Please see the screenshot below. First you need to filter query by the outlook ID since that is the only return value, however SharePoint(or what you may be using) and Outlook does not share the same ID so you have to give SharePoint outlooks ID. I added a new column called "OutlookID" (do not use "multiple lines of text" as column type) to store outlook's ID. Then I filter Query it in the 'Get Items' action. In the 'Create Items' I place Outlooks Dynamic Value ID in the new SharePoint column I titled 'OutlookID.' Once that is passed through and the value matches up it should now be able to be passed to the Delete Action which will then capture that particular ID in SharePoint.

 

Get ItemGet ItemCreate ItemCreate ItemDelete ItemDelete ItemDelete ResultsDelete Results