Error on two for-each loop

Hi, i am using two for-each loop i want first for-each loop get value1 and second for-each loop get value1 after getting value1 from 2nd for-each it has to return to 1st for-each loop.I have given my screenshot and myproject given below .
InvoiceDemo (2).zip (268.7 KB)


@Vincent_Lu @ Vivek.A.S @ varunk @Palaniyappan

Hi @gokul_t

Keep Break activity At second for each loop last
If write cell is your last activity after that keep Break activity

Cool,
Regards,
Gulshiyaa

Hi @gulshiyaa if i give break 2nd for-each value starting again from value1, i have given below screenshot

My requirement to get file name and count of file in single for-each loop like:
filename:gokul count:1
filename:sai count:2
filename:suresh count:3

Hi @gulshiyaa if i give break 2nd for-each value starting again from value1,
It came like:
count:1(for each loop1)
filename:Bac(for each loop2)
count:2(for each loop1)
filename:Bac(for each loop2)

[quote=“gokul_t, post:1, topic:177285”]
Hi, i am using two for-each loop i want first for-each loop get value1 and second for-each loop get value1 after getting value1 from 2nd for-each it has to return to 1st for-each loop.I have given my screenshot and myproject given below .
InvoiceDemo (2).zip (268.7 KB)
[/quote] @Victor_Victory @gulshiyaa @Palaniyappan

Hi @gokul_t

keep break on your second for each loop last,thats it
keep break over here

image

i will check your workflow

Regards,
gulshiyaa

Hi @gulshiyaa if i give break on 2nd for-each its breaking and its going to first for-each and incrementing correct but 2nd for-each value starting again from value1,
It came like:
count:1(for each loop1)value1
filename:Bac(for each loop2)value1
count:2(for each loop1)value2
filename:Bac(for each loop2) value1
I need as:
count:1(for each loop1)
filename:Bac(for each loop2)
count:2(for each loop1)
filename:gokul(for each loop2)