I have a compose connector that has an input of an array of strings. I want to take that array of strings and format it into something more readable like a proper CSV or a table. in an email. An example of the array, shortened considerably:
Solved! Go to Solution.
Thanks for the response. I tried that, but it doesn't work for me.
When I try to use the Append to string variable, I get the following:
InvalidTemplate. Unable to process template language expressions in action 'Append_to_string_variable' inputs at line '1' and column '22566': 'The template language expression 'concat(items('Apply_to_each_4')?['UserPrincipalName'],'</br>')' cannot be evaluated because property 'UserPrincipalName' cannot be selected. Property selection is not supported on values of type 'String'. Please see https://aka.ms/logicexpressions for usage details.'.
I have an array of strings already, so I'm not sure why I'd need to select them by property. Clearly I'm missing something.
I just figured it out. The link provided was helpful (thank you to the poster), I just had to modify the expression inside the for each, as below:
Hopefully this helps someone else.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.