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.
Hi @GayathriSK ,
This usually happens when you try to add value from the array. Can you please check the output of the item created in first step .
Thanks
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.
Hi @GayathriSK
@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.
can you help me create HTML table for using one array variable in the email?
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?
Hi @GayathriSK
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'.
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
8 | |
6 | |
5 | |
3 | |
1 |