Reputation: 5544
I created logic app and added following steps:
but I am not able to do so.
Upvotes: 0
Views: 1517
Reputation: 3111
First, instead of using a recurrence trigger, then get email action, consider using "When an email arrives" trigger instead. If all you care is new ones coming in that contains attachments. You will notice it has a "SplitOn" property, so it gets all the new emails in bulk, them spin off new instance for each email for subsequent processing. From there on, you can use For-each to iterate thru all attachments.
If you want to maintain the logic apps as designed, you will need to use for-each to iterate thru each email, and call a child logic app to iterate thru all attachments within each email. This is because the limitation of no nested for-each support - we're currently working on this feature and soon you will be able to create nested for-each.
Upvotes: 1