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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Grabbing a unique ID f...
Power Automate
Unanswered

Grabbing a unique ID from a sharepoint list

(0) ShareShare
ReportReport
Posted on by

Hi,

I have 2 flows in powerautomate, one takes a Microsoft form & converts it into a sharepoint list, with a unique ID.. This works perfect. 

Important: My sharepoint list's unique ID is renamed to Ticket Number

My second flow looks at the sharepoint list and notifies via email when a change is made, I.E. status update.

 

In the subject line of the email, I want to include the unique ID number that has already been generated in the first flow. I thought I had this sorted, but I just realised today that the number continues to count upwards and no longer matches the unique ID that appears on the sharepoint list.

For example, I created a new ticket, the ID number was 106, when status update was made, the email states the ID is 189, then if the status changes again (From 'in progress' to 'completed'  it will then be 190, rather than picking up 109 and sticking with that ID number.

Would be really grateful for any help here.

 

2023-07-03 16_42_12-Edit your flow _ Power Automate.png

2023-07-03 16_47_55-JURA UK - IT - IT tracker - All Items.png

2023-07-03 16_48_36-Inbox-Mark.Green@jura.com - Outlook.png

2023-07-03 16_42_12-Edit your flow _ Power Automate.png
2023-07-03 16_47_55-JURA UK - IT - IT tracker - All Items.png
2023-07-03 16_48_36-Inbox-Mark.Green@jura.com - Outlook.png
Categories:
I have the same question (0)
  • Zacharie_Cortes Profile Picture
    170 on at

    Hello @Greenybfc ,

    Could you share with us the rest of the flow ?

    It should work so maybe you'r not getting the right output from the right sharepoint connector.

  • CU12081541-1 Profile Picture
    on at

    Hi Zacharie,

    This is the flow before the screenshot above. 

     

    Thank you for your help 

     

    2023-07-06 11_24_36-Edit your flow _ Power Automate.png

  • Zacharie_Cortes Profile Picture
    170 on at

    Ok, are you sure that the ID that you pass in the email is the same as the id you pass in your "Get changes ..." conector ? You can copy paste it to be sure.

  • CU12081541-1 Profile Picture
    on at

    I have just copied and pasted the tag from the 'get changes connector'  & also double checked by hovering over the tag. Both tags show as triggerOutputs()?['body/ID'] 

     

    Even after copying and pasting the tag and re-running the flow, the two ID's still do not match. The screenshot below shows that the same ticket should be 112, instead the flow test came back as 196

     

    Ignore the ticket at 11:23 - This is a ticket that is sent to the user. For now I have removed the ID element until it is fixed.

     

    2023-07-06 11_52_14-Inbox-Mark.Green@jura.com - Outlook.png

  • Zacharie_Cortes Profile Picture
    170 on at

    Ok, triggerOutputs()?['body/ID'] is exactly what you should have, so we have one more option left ...
    can you tell me how you are modifying you element, because the trigger will work for both created or modified. Are you 100% sure that you are not creating a new element instead of just updating it?

  • CU12081541-1 Profile Picture
    on at

    The flow is designed to look at a sharpoint list item. It asks if the column 'status' has changed. 

     

    2023-07-06 13_57_56-IT tracker - 112.png

     

    2023-07-06 14_04_42-Edit your flow _ Power Automate.png

     

    I have a condition that asks if a change has been made, true or false. - If no, the flow terminates, if yes it continues to a switch. The switch only looks at 2 status varients, either 'completed' or 'in progress', although we have more status options, we only want to send an email if one of the 2 status's are avtivated.

    In case 1, status = completed then 'Send email'. 

    In case 2, status = in progress then 'send email'. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 304

#2
David_MA Profile Picture

David_MA 245 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 243 Most Valuable Professional

Last 30 days Overall leaderboard