cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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
Anonymous
Not applicable

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
v-litu-msft
Community Support
Community Support

Hi @Anonymous,

 

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.

Anu_Gupta
Community Support
Community Support

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".

Anonymous
Not applicable

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?)

Anonymous
Not applicable

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.

Anu_Gupta
Community Support
Community Support

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
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,994)