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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,888)