cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AK_
Level: Powered On

Active content 'Value' when New mail arrives is not working

Hi, the trigger of  'new mail arrives' seems have two active contents, 'attached file' and 'value'.

Flow_err_5.JPG

 

 

 

 

In 'apply to each' action, 'attached file' is working well.

But in case of 'value', always the flow fails.

 

Flow_err_3.JPG

 

 

Then "when new mail arrives" trigger is working only when new email has attached files.

 

Also, I wonder why 'value' is not translated in Japanease.

Is there any help/tips?

 

4 REPLIES 4
Community Support Team
Community Support Team

Re: Active content 'Value' when New mail arrives is not working

Hi AK,

 

I have reproduced your issue.

 

When Apply to each is with Attachment, it will run successfully:

1.PNG

 

Flow will only work when there is attachment in email. This is because that you only pull in the attachment of the emails to be used in the Apply to each action below. 

 

When flow is like below, it will fail with error.

 

 

2.PNG

 

Capture.PNG

 

I have reported your issue to the product team. If I got any update, I will notice you here.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
AK_
Level: Powered On

Re: Active content 'Value' when New mail arrives is not working

Hi Mona,

 

Thanks, I will wait for your updating.

 

AK

Community Support Team
Community Support Team

Re: Active content 'Value' when New mail arrives is not working

Hi AK,

 

Firstly, let's clarify the definition of Apply to each. Frequently, you will get a list of items returned by an action. For example, you could get a list of email attachments for new emails, or a list of search results from a search API. An apply to each loop makes it possible to control the list that you repeat over. 

 

When it comes to "When a new email arrives" trigger, "Value" represents for the whole content of this new email, including the header, the body, etc. So if you put this to Apply to each, each run only have one "value". It will never contain a list of results. So the Apply to each is meaningless in this flow. That's the reason why it won't work.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
AK_
Level: Powered On

Re: Active content 'Value' when New mail arrives is not working

Hi Mora,

 

Thank you for your updating. I have tried again as your suggestion.

 

Steps

1. Delete 'Apply to each' step. And add 'Action'

 

Setting0.JPG

 

2. add acction "Insert row to Excel"

 

Setting2.JPG

 

 In this screen, I couldn't find timestamp of mail such as recieve date, send date. I tried to push 'More', but it doesn't work. no optoin was seen.

 

Then I used other parameters already appeared in the screen.

 

Result

 

My new flow fails.

Result1.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Result2.JPG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I've checked my flow settings, then error is shown.

 

Setting1.JPG

 

Please tell me how I can use 'new mail arrives' trigger in flow when new mail doesn't have attachements ?

 

Regards,

 

AK

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,320)