Posts

Showing posts with the label same loop

Salesforce Fact #792 | Iterate over two lists in same loop

Image
Suppose we have two lists of different length and we want to iterate over the lists in the same loop. We can do this by using some logic in apex. Attached is the sample code snippet.