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 / Unable to fetch latest...
Power Automate
Unanswered

Unable to fetch latest version of item from SharePoint list

(0) ShareShare
ReportReport
Posted on by 78

Hi,

I have a Flow which includes two levels of approval.

Approval.jpg

 

On the first approval I am giving a "Link to the item", so that first approver might make some changes before sending it to the next level approver.

But, in the second level approval, the updates made by the first approver are not coming. 

Approval2.jpg

 

Please help! 

 

Thanks in advance.

Categories:
I have the same question (0)
  • Krishna92 Profile Picture
    Microsoft Employee on at

    @Soumodip 

     

    Could you please try modifying the link as below and check if that helps you in overcoming the issue.

     

    https://<sharepoint address>/sites/<site name>/Lists/<list name>/DispForm.aspx?ID=<select the ID from dynamic content>

     

    once you configure it the link will look as below

     

    file link.PNG

     

    If this information helps you give it a thumbs up and mark the solution as resolved

  • efialttes Profile Picture
    14,756 on at

    Hi!

    Let me see if I understood the current flow design:

     

    So, before sending the first approval, your flow updates SP list item ('Update item 2').

    Now, during first approval process, approver can manually update this SP list item.

    Then, once first approval is completed, your flow updates again SP list item ('Update item 4'), and next initiate second approval process.

     

    If my understanding is correct, I would suggest to add a 'Get item' just before the second 'UPdate item' ('Update item 4') to capture first approver manual changes and use it as the basis for this second 'Update item' ('Update item 4')

    Hope this helps

  • Soumodip Profile Picture
    78 on at

    Hi @Krishna92 ,

    The ID is still coming from "Update Item 4" and so pointing to the old version. 😞

  • Soumodip Profile Picture
    78 on at

    Hi @efialttes ,

    Your understanding of the issue is correct. I tried your solution, but the problem is:

    flow.jpg

     

    As you can see from the screenshot there are no option to get the ID of the latest item (that is after 1st approval), using any of the available IDs will point me to the old version of the item! 😞

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Soumodip 

     

    You can go ahead and use the ID from update item 2 in the get item action. Note that the ID being passed here is just an integer value and the ID of any item is a unique one that cannot be changed. So you can directly pass the one from the update item 2 and the get item will get the latest version of the item. Can you try this setup and check if it resolves your issue?

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Soumodip Profile Picture
    78 on at

    Hi @yashag2255 ,

    I have tried it already, but did not work. 😞

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Soumodip 

     

    Can you post a screenshot of the current flow configuration? Also, can you try adding a small delay of about 5 seconds before the get item action and check if it is working? 

     

    What does the HTTP request to sharepoint action do in your original screenshot? You can try getting the last versions of the item from the http request and check if the latest edits are in that list or not. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard