Hello,
I have a problem with trigger "when file is created" for OneDrive for Bussiness.
Setting my task is very simple:
After creating new file -> Send an e-mail containing the name of this file.
When adding a file / files via the OneDrive web interface, the task is always performed only once like it should be.
The problem is that the task is run twice for each new file in a situation when I add files through the OneDrive folder on my Windows 10 computer.
I have the impression that this is a bug in the functioning of the trigger, and not the result of an incorrect configuration, since configuration of this trigger is so simple.
I need any solution that will allow me to send only one notification per file, regardless of how the file was added. It can be any filter, schedule or if / so, but after spending a few hours searching for a solution I found nothing like this myself.
That might just work. Could You please help me with configuation of Get Files action and filtering it to get names created in last hour? It would be tremendous help!
You colud use a Recurrence trigger to peridoically start a Flow (horuly if you would like). The Flow could use a Get Files action where you could evaluate the items returned for a created date/time that was within the last hour.
Scott
Anyone can help?
Second trigger can happen even few hours after uploading file, so I have no clue how and why its triggered...
Unfortunatny this false trigger keeps happening.
Is there any way to set up trigger to check for event like "new file created" lets say once in an hour and check this trigger only for files currently present in folder?
You will find screen of task above.
It is very simple task, yet it behave in weird way.
I believe it has something to do with OneDrive uploading via folder in Windows File Exploler. I would guess that maybe when I upload file via Desktop app file is created twice - first as "placeholder" and few second later, when upload is finished as proper file, but I could not weryfie it in any way.
I did try to get raports with another flow with same trigger raporting new file name, file id and timestamp of upload to excel, and only timespamps were diffrent with few second difference, but this issue happen no matter if this "log" is active or not.
I have been unable to replicate your issue. Can you post a screen shot of your Flow please?
Scott