cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

Flow Attachment name condition false negative

Hello All,

 

I'm writing because I've seen an issue that I'm hoping you guys can help me with. I have a flow which checks new emails for attachments. if the attachment contains a specific name, it downloads the attachment to a sharepoint document library. This flow works whenever I test it, however, the "natural occurance" gets marked as "false". Here are the steps below:

 

  1. Email arrives with attachment
  2. for each attachment
    1. check the name to see if it contains specific text (IE SalesReport)
    2. yes branch: save the file to a sharepoint document library

I received the email at 9AM and flow saw the email, the condition (2.1) came up as "false". I forward the email to myself, and it worked perfectly! why is it that the emails that come in naturally are getting missed?

 

Thank you,

1 ACCEPTED SOLUTION

Accepted Solutions

Hello All,

 

further to my last post, I discovered the issue in my flow. The issue is that the emails that are coming in are getting sorted into a subfolder of "keepbox". This subfolder appears to be the root cause of the issue. I have updated the flow to look at the correct folder specifically.

 

as a second question, is there a way to ask a flow to check "all incoming emails"? or "include subfolders"? if not, then I will keep this on top-of-mind for this flow and any subsequent flows.

View solution in original post

5 REPLIES 5
Community Support
Community Support

Hi @roblu001,

 

I created such a Flow as you describe it, and it works properly. My Flow as below:

Screenshot 2021-01-12 112858.jpg

 

Could you please share your Flow structure? And you could also share the run history of the condition came up as 'false'. We could check if the attachment name contains "IE SalesReport".

 

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Microsoft
Microsoft

could you please share the run history of the condition came up as 'false'. Need to check the condition you have mentioned -

if the attachment name contains "IE SalesReport".

Hello,

 

so, I think i may have found the "real problem". I went back through the run history, opened up all the runs during the time it would have come in (9am - 9:15am yesterday) and was not able to find the email. It appears that the "real problem" appears to be that its not catching all emails. I will continue to parse through and see if I can find it. but, if that's the real problem is there something that I should be looking for? (a setting or variable?)

Hello All,

 

further to my last post, I discovered the issue in my flow. The issue is that the emails that are coming in are getting sorted into a subfolder of "keepbox". This subfolder appears to be the root cause of the issue. I have updated the flow to look at the correct folder specifically.

 

as a second question, is there a way to ask a flow to check "all incoming emails"? or "include subfolders"? if not, then I will keep this on top-of-mind for this flow and any subsequent flows.

View solution in original post

Microsoft
Microsoft

For the basic trigger, you need to choose the Folder where actual email arrives. 

For e.g. below- 

Anu_Gupta_0-1610463146560.png

 

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (40,392)