Hi,
Requirement is to send single email to employee with his respective rows and CC to his respective Manager.
Data from sharepoint list
| DOC_ID | Invoice_Num | Employee Email | Manager Email |
| AB12X | 12SUM | 11email | 22email |
| SD12Z | 1qwe2 | 12email | 33email |
| asdas | asadsd | 11email | 22email |
| SD12Zw | 1qwe2w | 11email | 22email |
Expectation:
Employee 1:
| DOC_ID | Invoice_Num | Employee Email | Manager Email |
| AB12X | 12SUM | 11email | 22email |
| asdas | asadsd | 11email | 22email |
| SD12Zw | 1qwe2w | 11email | 22email |
Employee 2:
| DOC_ID | Invoice_Num | Employee Email | Manager Email |
| SD12Z | 1qwe2 | 12email | 33email |
I have tried with initializing array and append to array but missing something.
Thanks in Advance.