I have two array to loop through , arrFilesPDF, arrFilesXML.
I need to send one mail per two attachments of both arrays for each item.
when I am looping through arrFilesPDF using for each , while processing the first item of Arr1 I need to use the first item of arrFilesXML that means I need to loop through it too.
So for first item of arrFilesPDF, I need first item of arrFilesXML and send the mail. Hence I need to loop through both the arrays at the same item. How Loop through arrFilesXML inside arrFilesPDFso that I only get first item of arrFilesXML for first item of arrFilesPDF?
The workflow now is sending 6 mails instead of 3, because there are 3 files per folder.
like this second item of array2 for second item of array1
mail12q.xaml (15.0 KB)