cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
KarlB
Level: Powered On

Delete SharePoint list item deletes matching Sharepoint Calendar event

Dear all,
I have a leave request flow (not the one I'm having trouble with) that create a calendar event on a sharepoint calendar when a request is approved. The flow gives the calendar event the same ID as the list item.
My other flow that I'm trying to set up to delete the calendar event if the list item is deleted.
The condition is currently not triggering, what am I doing wrong?

Är lika med = Is equal to.
Happy to answer any questions.
spproblem.png


Best regards,
Karl

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Delete SharePoint list item deletes matching Sharepoint Calendar event

 

Hi @KarlB ,

 

What is the type of the new column used to record the ID?

The type of the ID field is Number. If it needs to be compared with it, the type of the other parameter in Condition must also be number.

You can use the int () function to convert the parameter value to the left of the Condition to an integer.

 

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

4 REPLIES 4
Super User
Super User

Re: Delete SharePoint list item deletes matching Sharepoint Calendar event

@KarlB 

I am a little confused when you say that you give the calendar item the same ID as the list item.  IDs cannot be assigned to SharePoint list items - they are internally generated by SharePoint.  Do you mean to say the you have an additional column in the calendar where you store the ID of the list item?  Please let me know and I will provide an example.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
KarlB
Level: Powered On

Re: Delete SharePoint list item deletes matching Sharepoint Calendar event

Excuse me for being unclear.
But, yes

You are exactly right. I have created a new column in the calendar where I store the ID of the list item (generated by SharePoint).

 

Best regards,

Karl

Community Support Team
Community Support Team

Re: Delete SharePoint list item deletes matching Sharepoint Calendar event

 

Hi @KarlB ,

 

What is the type of the new column used to record the ID?

The type of the ID field is Number. If it needs to be compared with it, the type of the other parameter in Condition must also be number.

You can use the int () function to convert the parameter value to the left of the Condition to an integer.

 

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

KarlB
Level: Powered On

Re: Delete SharePoint list item deletes matching Sharepoint Calendar event

Thank you, that did the trick!

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (4,581)