
Announcements
Hi there, thank you for taking the time to read my issue.
I have a very simple flow that is failing to run sometimes and I can't work out what is going wrong.
Every day I receive a sales report from an internal colleague. This sales report needs to be sent to some of our external contacts on Mondays. I could have just set up a forwarding rule within outlook however as the e-mail I receive is very basic and it's going external I wanted to dress up the outgoing e-mail. So to avoid this becoming a manual process every week I built it into a flow. This is what it looks like:
Trigger: When a new e-mail arrives (to my inbox, from specific sender, include attachments, with specific title) - these details are always the same every day
->
Get e-mail (message ID, include attachments) - collect above data
->
Convert time zone (utcnow(), full date/time pattern (short time), UTC Coordinated Universal Time, UTC+00:00) - this is to be able to collect the day data
->
Compose received (dayOfweek(body('Convert_time_zone') - change above into day
->
Condition (Compose Received = 1 [Monday]) - work out if it is a Monday
If yes ->
Apply to each
Attachments
Get company logo from sharepoint
Get e-mail banner from sharepoint
Send e-mail from shared mailbox (mailbox address, to both recipients, e-mail body as if it were sent from me personally)
If no -> nothing
Some days however it just doesn't run. I'm assuming that this is because it is failing to find the triggering action but there is literally nothing different. Every day the same report is run and is received about 8:05, it comes from the same sender and has the same title. the only thing different is the day and the fact that it frequently (usually on the Monday!) decides not to run! Please help with suggestions!
Hi,
I would triple check just in case there is something different that just doesn't stand out. A Space, the email address is somehow just barely different, the attachment is missing anything.
Can you also check in the History that there are no failed runs?
Are you receiving any Throttling errors anywhere else?
Lastly, can you validate on the Trigger click ... and Settings and are there any custom filters at the bottom?
Sorry this is happening, lets see if we can fix it.
Cheers
If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
Thank You
Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
https://gernaeysoftware.com
LinkedIn: https://www.linkedin.com/in/michaelgernaey