One Star

Iterate through file list for every item of another file list

Hi,
I have the following problem: I have two lists of files. For every item of the first list I try to iterate throug all items of the second list and look for matching attribute value.
Example:
File list 1:
A.xml
B.xml
C.xml
D.xml
File list 2:
1.xml
2.xml
3.xml
-> compare A.xml with 1.xml, 2.xml, 3.xml
-> compare B.xml with 1.xml, 2.xml, 3.xml
-> compare C.xml with 1.xml, 2.xml, 3.xml
-> compare D.xml with 1.xml, 2.xml, 3.xml
The problem in the job you can see in the attached screenshot is the arrangement of the two filelists. How to arrange it, so that the second list is traversed for every item of the first list?
3 REPLIES
One Star

Re: Iterate through file list for every item of another file list

ohofrichter - how about this?
As you can see in the drop down list, you can access the global variables for both tFileList1 and tFileList2...
One Star

Re: Iterate through file list for every item of another file list

Thank you, willm. It works!
One Star

Re: Iterate through file list for every item of another file list

ohofrichter - glad to hear Smiley Happy
Please mark this post as resolved.
Thx...