I'm pretty sure I'm doing something basic incorrectly. Here's the problem
I have a flow which brings in some plain text from a file and splits it into an array. It then builds a string from the array and attaches that to an email as a file. I've kept it simple right now, there'll be more trickery later, but I can't get this simple version to output the array values correctly using 'apply to each'.
Split the content on SOL
Output two ways, one is the text as assembled by apply to each, which consists of three lines exactly the same. The first line is array
Solved! Go to Solution.
The crappy editor dropped two images
Shows apply to each pulling in the entire array as each line, rather than each item. Still knows it's three so it is reading the array as three lines. Note also it's got the array delimiters pulled in.
Yes, bang on. Where is it written!?
I had assumed that's what the apply to each was looking for, each item in the array, not each array? It's a bit counter intuitive that it iterates the array not the items. And even then, why would it repeat for each item!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.