Having difficulty using two different for loops in the same resource

2 posts were split to a new topic: “Invalid reference” for app-gen-eng-sandbox reference