AnsweredAssumed Answered

Nested "For each"

Question asked by devtha on Aug 5, 2016
Latest reply on Aug 16, 2016 by devtha

I have a need to query multiple columns from a list, could I declare multiple collection varialble and add these values to the collections?

After adding values to the collection variables, I want to use nested for each loop so in the outer most loop I have the Unique identifier for which I can lookup other related values within the other collections.

 

For each (ID) - Step A

     For each look up ORG where ID = ID from step A

          For each look up employee where ID = ID form step A

               do something in the list

          next

          do something in the list

     next

     do nothing this is the master record for keeping unique ID available to other loops

next

 

Is this correct?

Thanks in advance.

 

-DT

Outcomes