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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Delete Calendar Item w...
Power Automate
Unanswered

Delete Calendar Item when List Item is Deleted

(0) ShareShare
ReportReport
Posted on by 20

Hi 

 

I am looking to delete a calendar item once an item is deleted in sharepoint - I have read a few posts about this and thought I had it all right but it is not working - the condition is always false - see screenshots below - any help is appreciate.

 

LauraG1_0-1660039445893.png

 

LauraG1_1-1660039479487.png

 

Categories:
I have the same question (0)
  • manuelstgomes Profile Picture
    6,625 on at

    Hi @LauraG1 

     

    The issue is that in the comparison, you're comparing the body of the HTML to Text (that is, a string that is covered by the body of an element that contains a lot of other elements) with an id (an int value), that's why the comparison will always be false. In the end, you're comparing something like 1 to "[{id:123,.....}]"

     

    You need to change the left parameter with the ID value you get inside the body of the calendar action (the calendar value ID).

     

    Does it make sense?

     

    Cheers
    Manuel

    ------------------------------------------------------------------
    If I have answered your question, please mark it as "Accept as Solution." It will help other members find the solution faster. If you like my response, please give it a Thumbs Up. ?
    Otherwise, reply to it, and the community will do its best to help you.

  • LauraG1 Profile Picture
    20 on at

    Hi @manuelstgomes 

     

    Thanks for the response:

     

    i changed it to this (not sure if its what you meant)

    LauraG1_0-1660117629199.png

     

    and I am still getting false for the condition

     

    THanks

    Laura

  • manuelstgomes Profile Picture
    6,625 on at

    HI @LauraG1 

     

    Sorry about that, but you're almost there. You changed the left side correctly. Now just Remove the string expression and add the SharePoint "ID" that you had before, and it should work.

     

    Cheers
    Manuel

    ------------------------------------------------------------------
    If I have answered your question, please mark it as "Accept as Solution." It will help other members find the solution faster. If you like my response, please give it a Thumbs Up. ?
    Otherwise, reply to it, and the community will do its best to help you.

  • LauraG1 Profile Picture
    20 on at

    Hi @manuelstgomes 

     

    Apologies for the massive delay

     

    This still is not working - any other ideas?

  • MaleselaR Profile Picture
    83 on at

    Hi @LauraG1,

     

    When adding the the item to the SharePoint list did you write the ID as the event ID and not the generated ID? If not, then you might need to change what you compare in your condition, like subject etc.

     

    I hope this helps.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard