I am trying to add an array field - List of certifications from the Item created above. When I try to add the value, Apply to each 3 automatically adds.
When I try to save it, I see this error. Please help!
Solved! Go to Solution.
You can't add an array directly into an email. What you have to do is process the array and convert it to an HTML table or a string before inserting it into the email.
@Pstork1 is a very good approach if you want to send an email with an array you can use the create HTML table and with the created array set the values.
I tried creating Get Item and pulling in the array variable into email But the issue is I do not have the "Value" from get items to add in Select function.
Should I need to use Get items instead of Get item?
You need to process all the records and create an array, then you can use the HTML table, looks like this:
Finally you can use the HTML Table in an email:
And this is the output:
I am using the Get item instead of the Get Items function because I need only the item that was created in the flow.
When I use this, I cannot find the array - Value to use it in the Select operation. Instead, I have body for which I get an error.
The 'from' property value in the 'table' action inputs is of type 'Object'. The value must be of type 'Array'.
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.