I am trying to create a flow that takes information from 2 different tables, but when trying to select a field from different tables to send an email, I throw the following error:
"This output is an array. An element for each can not be nested within another element for each."
Does anyone know what this error is about?
Beforehand thank you very much.
Regards!!!
Hi RafaelCDev,
It seems that currently we are not able to add a loop inside another loop. There is similar request on Flow Ideas Forum, the status of the idea has been changed to Started, please consider to vote the idea at here:
https://powerusers.microsoft.com/t5/Flow-Ideas/Nested-loops-support/idi-p/19329
For your scenario, If you want get information from two tables, please consider a temporary workaround by using “Add a parallel branch”. Then you could get information from two tables and send an email with a same trigger.
It might be something likes below, hope it can be a reference for you.
Please feel free reply if you need more help.
Best regards,
Mabel Mao
Thank you Mabel,
One more question, the purpose of my flow is to read from my database a series of records, some of these records are composed of several items, my question is how can I group the various items in a single email? If you need more details to help me, please let me know.
For your attention Thank you !!!
User | Count |
---|---|
23 | |
15 | |
14 | |
10 | |
9 |
User | Count |
---|---|
48 | |
29 | |
28 | |
25 | |
23 |