I’m having problems with my For Each loop. I want the For Each loop to do a set of activities, i.e. upload a file to a plattform. Here’s my loop:
The For Each loop is supposed to loop through all files that are stored in the variable FilesToUpload of type System.String but unfortunately stops after the first iteration. The first iteration works properly though.
I’ve checked if the variable FilesToUpload really stores different files as the files are spread over different folders and my output confirms that in fact every file (3) is stored correctly.
Here’s how I retrieved and saved the files to the variable:
Anyone has an idea why the For each loop doesn’t work properly?