So here is my problem. I have a job with a list of workstations names stored in a job variable. Then using a loop I read each line and use that name to copy a file to a share on each workstation. This job has been working for several months. Yesterday I added a new task in the loop to delete older files in the share. When I went to test it. I started getting an error from the copy on the first time through the loop.
It it enters the loop, and the the first item I get back is a 1, then in the second time around I get the first name in the list.
So to check things, I've added and removed names from the list and I still get the 1 first, then the updated list. So the job variable updates are being read by the job. I even tried making the list blank and I still get a 1, then nothing since the list is blank. Next I tried making a new job variable and having the loop read that. Same result.. So I tried removing the loop and recreating it. Same result.
What am I missing?