So the flow should go to for each loop and check every attachment and rename it, but in my case it renams only the first attachment, and then sends error that all have been renamed. Somehow it skips the for each loop and stays within first attachment.
As in images above, I get only first attachment replaced, the second and third one stay unchanged.... I would be very grateful for any help. In images below is my flow