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 / Flow not working norma...
Power Automate
Unanswered

Flow not working normally, but works when I test it manually it works

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a flow where the trigger is a file is created in a OneDrive folder. I have added a step "Get File Content - File Identifier".  The subsequent steps are Conditions. The Conditions are triggerOutput()['headers']['x-ms-file-name'] contains Lastname Firstname. The next step is to have the flow create the file in a specific SharePoint folder, then the last step is to delete the file from the OneDrive folder. There are no errors. If I run a manual Test using either "I'll perform the trigger action" and manually deposit files into the OneDrive folder, or deposit the files first then run a test selecting "Use Data from OneDrive for Business", the flow works and all of the files are created and subsequently deleted correctly. The purpose of these flows (there are a few of them so that all of the conditions are not in the same flow so they won't be too long) is to have the paperwork scanned into the user's OneDrive folder, then the flow takes over from there. When the files appear in the OneDrive folder from the scanner software, they just sit there and the flow doesn't trigger. If I manually run the test to Use Data from OneDrive for Business, the flow runs successfully, but only picks one file to process, instead of processing all of the files that are identified by the flow. I have created new flows with only one condition to test, and it works (or doesn't work) the same way.

 

Can anyone provide any insight as to why this is so consitently inconsistent?

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Can you confirm that the folder path you provided in the flow trigger and the path where you are uploading the file are same? 

     

    Can you confirm that you have properly saved your flow and turned it on?

     

    Lastly, are you uploading multiple files at a time? If so, Flow may take some time to trigger based on the multiple files uploaded and pick the new file only when one flow is executed. In such a scenario, you can turn enable the concurency control in flow to run it parallelly for multiple files uploaded. Please see the screenshot below:cos.pngNote: Concurrency once enabled, cannot be disabled. 

     

    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!

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

    Hi @Anonymous ,

    Could you please share a screenshot of your flow's configuration?

    As you said, The purpose of these flows (there are a few of them so that all of the conditions are not in the same flow so they won't be too long) is to have the paperwork scanned into the user's OneDrive folder, then the flow takes over from there.

    So when the user uploads the files in the OneDrive folder, the flow will not be triggered, right?

    Could you please share a screenshot of the files you have uploaded in the OneDrive folder?

    Best Regards,

    Community Support Team _ Zhongys

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes, the paths are the same.

    Yes, the flows are properly saved and turned on.

    Yes, we are uploading multiple files at a time. I'm not understanding the concurrency thing, and other flows configured in the same way are working. 

    I found that the latest update to our scanner software will now scan directly to SharePoint Online, so I am using that and have tested a flow that says "When a file is created in a folder" (which is the Documents folder - can't pick a sub folder yet, which is a limitation) and triggerOutput is x-ms-file-name contains lastname firstname, move the file (using the File Identifier) to the desitination folder. This seems to be working consitently, where the flows involving OneDrive are not. Thank you for your reply.

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 293

#2
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 223 Most Valuable Professional

Last 30 days Overall leaderboard