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!


Report
All responses (
Answers (