cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JordanA
Regular Visitor

Delete O365 Event when DevOps Work-item is Closed

I'm trying to automatically delete O365 Events when a corresponding DevOps Work-item is closed.

 

Here is the current flow I'm using to create a O365 Event when a DevOps Work-item is created (this flow is working great):

https://i.imgur.com/tLHDhQX.jpg

 

Here is the current flow I'm using to try to delete an O365 Event when a DevOps Work-item is closed (this flow is not working):

https://i.imgur.com/IGTxIA5.jpg

 

I'm thinking O365 is failing to assign a proper ID to the events being created, but I'm not really sure where to go from here. Any help would be greatly appreciated. Thanks!

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @JordanA ,

 

You are filling the incorrect event id in Id field.

Since that you have fill id in the subject of the event, you could filter events by subject.

Image reference:

132.PNG

Hope this helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-bacao-msft
Community Support
Community Support

 

Hi @JordanA ,

 

You are filling the incorrect event id in Id field.

Since that you have fill id in the subject of the event, you could filter events by subject.

Image reference:

132.PNG

Hope this helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

This is definitely on the right track, thanks for the advice!

 

For people reading this in the future:

I had to wrap the right side of the Filter array in a string to make the comparison compatible.

So triggerBody()?['id']    will become     string(triggerBody()?['id'])

 

Now it works like a charm.

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (2,511)