web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : g65I/a41MMuAGdNjLV2Bk+
Power Automate - Building Flows
Answered

Delete SharePoint list item deletes matching Sharepoint Calendar event

Like (0) ShareShare
ReportReport
Posted on 25 Nov 2019 18:20:02 by 38

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

I have the same question (0)
  • KarlB Profile Picture
    38 on 02 Dec 2019 at 09:13:37
    Re: Delete SharePoint list item deletes matching Sharepoint Calendar event

    Thank you, that did the trick!

  • Verified answer
    v-bacao-msft Profile Picture
    on 02 Dec 2019 at 03:01:29
    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,

  • KarlB Profile Picture
    38 on 01 Dec 2019 at 09:47:04
    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

  • ScottShearer Profile Picture
    25,236 Most Valuable Professional on 25 Nov 2019 at 18:31:36
    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.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 798 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 469 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 333

Last 30 days Overall leaderboard
Loading complete