cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DodgeHo
Helper I
Helper I

The flow cannot recognize if the email has attachment or not

https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/Create-Planner-Task-and-Include-At...

I tried the method above and successfully created a task from email with subject and body content. However, I cannot create the folder to store the attachments. It seems like the automation cannot recognize if the email has attachment or not. 

Capture.PNG 

Could anyone help me? Thank you.

 

1 ACCEPTED SOLUTION

Accepted Solutions

@DodgeHo  Your fisrt code is correct there is nothing wrong with it. Do not change to 'yes' keep it at 'no', it processes email with no attachments. Try change your step of Get email to Get email (2) and try again.

View solution in original post

12 REPLIES 12
DodgeHo
Helper I
Helper I

Here is my full setting.

screen_03.png

 

screen_05.png

 

screen_07.png

 

screen_09.png

 

AlanPs1
Resident Rockstar
Resident Rockstar

Hi @DodgeHo 

 

I know it's not like this in my post but try the below, just in case

 

Capture-575.png

 Also, look at the run data for "When a new email arrives (V3)", look at the JSON output (or post an image back) to see if the "HasAttachment" is reporting as true or false, it looks like there is no attachment but I'd be guessing untill I see the JSON ouput.

 

If you have found my post helpful, please mark thumbs up.

 

Any other questions, just ask.

 

Thanks, Alan

 

 

Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!


@DodgeHo  

screen_03.png



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

 

Hi @DodgeHo ,

 

As described by @AlanPs1 , the first thing you need to do is make sure the email you receive contains attachments.

Flow run history shows that the action in If yes was not executed, because the result of Condition is false.

 

When configuring the Condition, you can directly use the Has Attachments output by the Get email action to determine whether the email contains attachments.

Image reference:

108.PNG

Also, I noticed that you have set the Include Attachments in the Get email action to Yes, so it can get the attachments.

 

Please take a try again.

 

Best Regards

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

Thanks for the reply @AlanPs1 @v-bacao-msft @ChristianAbata 

 

I set the include attachment to "YES" but it still doesn't work.

Here is the run history for "When a new email arrives (V3)"

Screen Shot 2020-02-10 at 12.35.02 PM.png

 

@DodgeHo  Your fisrt code is correct there is nothing wrong with it. Do not change to 'yes' keep it at 'no', it processes email with no attachments. Try change your step of Get email to Get email (2) and try again.

View solution in original post

@Sam_Madisha Thank you for your reply. I finally get the flow recognises the email but I got suck in here, the 'Create sharing link for a file or folder' action.
Any suggestions?
Thank you.
@AlanPs1 @v-bacao-msft @ChristianAbata 

Screen Shot 2020-02-17 at 12.14.40 PM.png

 

Thank you all!
I made it!
I just set the folder setting to "no need to check out" and it works perfectly.

@DodgeHo  Good job. Cheers!

Hello @DodgeHo,

 

I am having the exact same problem as you were having.

 

could you elaborate on how you changed the folder setting to "no need to check out"?

 

That might be the thing I need as well. 

RPJ
Regular Visitor

@DodgeHo was probably referring to the SharePoint document checkout setting:

 

sharepoint-checkout.png

RPJ
Regular Visitor

Hi @DodgeHo,

 

I got stuck in the exact same place, but nothing changed after I reviewed SharePoint's document checkout settings--mine were already set to "no." Did you make any other adjustments somewhere?

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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.

Top Solution Authors
Users online (2,402)