How to do Unoptimized aggregation inside the loop of workflow?

Have you looked into the following resource