cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mhines
Advocate II
Advocate II

Flow triggers when Scanner first starts to send file to SharePoint - causes failed runs

We have had to go to scanning our incoming mail into a DropOff folder in Sharepoint which then distributes the scanned document based upon the filename as part of our closure due to COVID-19.  


This is somewhat working, but while the scanner is first sending the file over to SharePoint, the file has a filename that starts as ~tmp (which I am assuming means it's a temp file). We cannot change the behavior of how the scanner is sending the file to SharePoint. This file will Fail because it doesn't really exist. Then about 30 seconds to 1 minute later, the file is completed and no longer has the ~tmp in front of the file name and the Flow works fine.

Is there a way to ignore the files that are ~tmp?

 

Right now I'm required to track all of the failed and successful runs into an Excel document and we are getting false stats on this because of the time the file starts as a ~tmp file. We do want to add in more logic to what happens upon Failure,but until I can stop fails from happening during the file transport/creation, I cannot take those next steps we want to make.

1 ACCEPTED SOLUTION

Accepted Solutions
abm
Super User
Super User

Hi @mhines 

 

Use a delay after the trigger

 

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

3 REPLIES 3
abm
Super User
Super User

Hi @mhines 

 

Use a delay after the trigger

 

image.png



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

View solution in original post

I'll give that a try, but I was hoping to not get the flow to trigger until the whole file was there.


Although I worry that maybe I"m cause the Excel document that I have too many entries. All I'm trying to do is to make an Excel Document that multiple people can look at to see if a document didn't move from the DropOff folder without having to go and view the Runs on my Flow.  Is there a best practice on how to allow multiple people to see the Run information without having access to the Flow?

Hi @mhines 

 

Thanks for your reply. The Run information is specific to flow UI so users need to login to see the progress unless. You could add an additional step in your flow send email notification to users.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blogPower Automate Video Tutorials

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,107)