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 / Troubleshooting flow t...
Power Automate
Unanswered

Troubleshooting flow to trigger email when Sharepoint list item status changes - wrong ID

(0) ShareShare
ReportReport
Posted on by 3

Hi everyone,

 

First post as I am a relative newcomer to Power Automate with lots to learn. I have built a simple flow to send an email notifying users when a sharepoint list item has a column updated (the actual scenario is to trigger a 'shipment complete' email to a requester when the sharepoint list status on their request is changed to 'complete')

 

My flow works, but for one thing. The triggered email includes the ID of the request ('Your request IDXXX is complete'). But the ID displayed in the triggered email is the ID of the *previous* Sharepoint list item, not the one whose status is updated.

 

All the other fields in the email are shown correctly, so I can't work out why the wrong ID is being included. Any tips very gratefully received. I have doubtless made a newbie error! 😉

 

Flow below:

Screenshot 2021-09-23 154743.png

 

Thanks,

Tom

Categories:
I have the same question (0)
  • eric-cheng Profile Picture
    5,171 on at

    Hi @billicatons ,

     

    Based on your flow and the fact there are no other SharePoint actions, it shouldnt be the case.

     

    If you look at the flow run history and the trigger output, is the ID correct? 

     

    In your list, have you verified the list item ID of the item that was edited is in fact different to the one in the flow?  You will only get a new ID if a new item is created.

     

    --------------------------------------------------------------------------
    If I have answered your question, please mark my post as a solution
    If you have found my response helpful, please give it a thumbs up

    Connect on LinkedIn

     

     

  • billicatons Profile Picture
    3 on at

    Thank you, @eric-cheng ! I think I found the issue when looking at the outputs as you suggested. I had missed that the ID of a list item in Sharepoint did not match the Title of the item (which also contained an ID number, 1 different from the actual item ID). So that was the source of the mismatch.

     

    Thanks for your help.

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard