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 / Run a flow automatically
Power Automate
Answered

Run a flow automatically

(0) ShareShare
ReportReport
Posted on by 34

Hi to all,

 

First time posting on flow community, so please excuse if question is not very perceptible.

 

In my company we are making a new flow based on a sharepoint library, and using the trigger each time a document is created or changed we run an approval flow.

 

On that approval flow we can have an acceptance or a refusal from the user and based on that a field is updated in the document properties, so if document is approved goes to next approver, if not goes back to registered status.

 

The question here is that the first step of this flow when the document is changed or created is if the status is equal to registered if yes then go trough the flow if not stop, so my colleagues are asking if is possible to having a refussal and since the status is change back to registered the flow will run again automatically or not?

 

On my test I see that the flow doesn't rerun so we need to go to the document and make a change to the metadata and the flow will pick it up and run, if the metadata is changed by the flow there is no rerun.

 

Is my understanding correct only manual changes to documents are making the flow run?

Do we need to have a manual input on the document?

Is it possible to make it rerun without any user intervention?

 

Just to add some information this refusal from the user is because he identified something that is not correct so the previous persons in the approval route need to revise the information, at some previous steps if user refuses the status changes to reject or is send to archive directly.

 

Thank you for your help in advance.

 

Regards,

MFelix

 

 

Categories:
I have the same question (0)
  • Verified answer
    Brad_Groux Profile Picture
    4,556 on at

    @MFelix wrote:

    1. Is my understanding correct only manual changes to documents are making the flow run?

     

    2. Do we need to have a manual input on the document?

     

    3. Is it possible to make it rerun without any user intervention?

     


    1. No, you can have Flow trigger based upon document chanages made by Flow as well.

    2. No, see above.

    3. Yes, you can Run flows on a scheduleManually trigger a flow or put the Flow actions within an Apply to each loop

    Approval documentation:

  • MFelix Profile Picture
    34 on at
    Hi @Brad_Groux,

    Thank you for the reply and web links.

    What do you think can be happening for the flow not being rerun when my flow change the status to registered? Why aren't the changes made from flow recognizer in the modified trigger?

    Thank you.

    Regards
    MFelix
  • Brad_Groux Profile Picture
    4,556 on at

    I'd have to review your Flow to possibly provide a reason for your Flow not rerunning when an item is created or modified. What is your initial trigger?

    If you could provide an expanded screenshot of your Flow and steps, and of any detailed error messages you're receiving we could likely better assist you.

    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!

  • MFelix Profile Picture
    34 on at

    Hi @Brad_Groux ,

     

    check below the image.

    Flow.png

     

    The flow is much bigger but this is the point where we have the need to rerun automatically.

     

    If you need any additional information tell me.

     

    I appreciate your time and effort on this.

     

    Regards,

    MFelix

  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @MFelix ,

     

    You mentioned that “if not goes back to registered status”, will the status be changed to other value once the flow is triggered?

     

    If so, you could consider adding action Update file properties under If No branch of the approval action.

     

    Then the Status will be updated back to Registered, and the flow will be triggered again.

     

    Hope this could be helpful.

     

    Best regards,

    Mabel

     

  • MFelix Profile Picture
    34 on at

    Hi @v-yamao-msft ,

     

    The flow starts tu run when someone put a status of Registered, then  during the flow it will change to several other status depending on the answers. But for this particular choice it has to go back to Registered.

     

    When I read your post I started to think on one thing. Since I start the flow with a Registered Status, and the flow continues to run and changing status but the final status is Registered again (for this choice in the flow) for automation purposes the document didn't had any changes so it doesn't restart?

     

    Is my understanding correct?

     

    Regards,

    MFelix

  • Verified answer
    v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @MFelix ,

     

    Thanks for updating.

     

    As the Status will be updated depending on other answers, you could add a Condition directly after the Trigger to check if the Status is Register or not.

     

    If it is Register, run the following actions, if no, do nothing.

     

    Further, as I previously suggested, add action to update the Status to Register if the approval request is not Approved so that the flow could run again.

     

    Best regards,

    Mabel

     

  • MFelix Profile Picture
    34 on at

    Hi @v-yamao-msft ,

     

    thank you for your time and answer just two points/questions:

    • I refer in my post that it goes back to register when rejected but it's when approval, so the status changed back to register is already there.
    • Regarding the place where I make the register check I have it in the 4th step not immeaatly after the trigger do you think I should make it after the trigger?

    One addtional question:

    • Do you know why when I finish the update of the file properties instead of getting the user name that (started the flow) on the modified by, I'm getting the name of the user who created the flow?

    Regards,

    MFelix

  • MFelix Profile Picture
    34 on at
    Hi,
    @Brad_Groux and @v-yamao-msft

    Thank you for your help it was a good guidance I was able to solve my issue, some part of the errors believe was driven by some network errors not recognising the changes.

    Regards,
    MFelix

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 283

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard