cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
roblu001
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
v-litu-msft
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.

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

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

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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,173)