Hi all,
I'm having trouble getting an apply to each operation to work correctly.
These are the steps I need to operation to carry out but I am getting the following error:

This same function is carried out in a separate flow and works correctly however for this one it keeps erroring.
TIA