Hi,
I have flow that copy email attachment to a sharepoint folder. I then have a flow that is triggered when a file is added to check the type of file and run the child flow accordingly to the file type.
I went that way instead of running the flow from the email trigger, so if something happens in the email flow, the file could be updated to the folder from someone else.
It's been working well, except that I realized it didn't run on friday to saturday night. It didn't fail or anything. When looked at the "checks", I have skips for that day (meaning it didn't see there was new data). Any idea why and how to resolve it ?
Or another idea on how to run my flows ?
This is the flow showing it's running, (3 files per day) and you can see it's missing on the 20th.
this is the "all-runs" check for that flow. There is checks on the 20th but they are all skipped. Could it be that the check was done at the same time the file were created, so there was no difference at the specific time. Then the next time it checked, it didn't see difference between the previous time it ran cause it was copied at the same time ? If so, can I specify check time ? Or have two trigger for the same flow ? (one from the file and one from another flow ?)
This is from my email, as you can see I get the 3 reports files at around the same time, and works but didn,t on that day. May be due to the timing of checks ?
Thnak you for helping me out.
No folder was created. Only the 3 files.
The trigger configuration
A skipped run. But it's the same type as everyday for every check. I don't know the frequency of the check,
The files were created at 00:04 ; 00:05 & 00:04, and no other files except theses 3. The next one was created in another folder at 09:21.
The When a File is Created (properties only) trigger will trigger for both files and folders (even though the trigger name only contains the word file—it does trigger for both files and folders). I would imagine that the skipped flows are because a folder may have been created instead?...
Could you share a screenshot of one of your Skipped flow runs? It's hard to troubleshoot with only the screenshots you've shared. I would recommend adding Trigger Conditions to your flow if you only want it to trigger when a new file is created (not a folder).
Check out this YT Tutorial for more details on how to add Trigger Conditions to your flow: 4 Ways You Can Use Trigger Conditions in Your Microsoft Power Automate Flow
If you are using an Automated Cloud flow trigger in your flow—you need to consider adding trigger conditions.
Do YOU 🫵 know what a trigger condition is? Trigger conditions can be set in most flow triggers. These conditions you set must be true for the trigger to fire. In this Power Automate tutorial, I’m going to show you how to use trigger conditions in your flows to control when your Power Automate flows trigger.
If your plan has flow run limits—you can avoid triggering your flows unnecessarily by using trigger conditions.
I’ll cover four different flow examples that would benefit from trigger conditions:
⚡️ Triggering a flow when a column is changed to a specific value
⚡️ Triggering a Flow When an Event Updated or Deleted
⚡️ Triggering a Flow When a New Folder is Created
⚡️ Triggering a Flow When a Specific Email is Received I’ll also show you a trick on how to easily create the expressions needed and give you a few tips on how to troubleshoot your flow.
IN THIS VIDEO:
✅ Four different flows that would benefit from trigger conditions
✅ What is a trigger condition?
✅ How to add a trigger condition to your flow
✅ How to trigger a flow when a column is changed to a specific value
✅ How to trigger a flow when an event is updated or Deleted
✅ How to trigger a flow when a new folder is created
✅ How to trigger a flow when a specific email is received
✅ How to troubleshoot a trigger condition
✅ How to prevent case sensitivity issues with a trigger condition
✅ How to use the filter array action to easily compose an expression that can be used in a trigger condition
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional