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 / How do I get the LATES...
Power Automate
Unanswered

How do I get the LATEST version of a trigger file, after it is adjusted mid flow?

(0) ShareShare
ReportReport
Posted on by 20

First time posting, so apologies in advance if i have left any information out that i should provide!

Basically I have a report in excel format that triggers an approval process through power automate when it is saved in a temporary folder on sharepoint. Once approved, the file content is gathered, and a file is created in its correct folder in sharepoint for record keeping, and a script is run on the file to email part of one the worksheets out as a summary to other people. During the approval process, there may be changes to some of the data in the excel file, however once approved the flow always seems to send out the original version of the file, rather than the adjusted version, despite not being asked to get the file content until after the approval. I changed the original format to try and use get file metadata to make it interrogate the file again and provide a new id to use in Get File Content, but this isnt working either as i cant seem to get the correct id for the trigger. :{

The following is my structure, any advice?

Dreadedgiraffe_0-1698627436816.pngDreadedgiraffe_1-1698627469620.png

 

Categories:
  • Rhiassuring Profile Picture
    8,692 Moderator on at

    Hi there, 

     

    On your Excel action, do you have the settings set like this: 

    Rhiassuring_0-1698628404746.png

     

    Setting "Secure Inputs" to "On" tends to get rid of the issue you're mentioning.

     

    R

     

  • Dreadedgiraffe Profile Picture
    20 on at

    sure exactly which excel action you were referring too, but ive tried a few different combinations of that and it did not make a difference? FYI i changed the trigger action to When a file is created (properties only), to further try and insist the content is only fetched AFTER the approval, but i still cant make this work 😞

  • Rhiassuring Profile Picture
    8,692 Moderator on at

    Ah, sorry, I posted too fast and missed you were going for the actual content, and not getting content out of the tables themselves.

     

    Try setting it to Secure Inputs / Outputs on the "Get File Content" and "Get File Metadata" actions.

     

    If that doesn't work, then maybe you could trigger another separate workflow to ensure it picks up.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 430

#2
11manish Profile Picture

11manish 341 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 282

Last 30 days Overall leaderboard