I am trying to clear a collection of files from an array. It returns the following error:
Remove from collection : Collection was of a fixed size.
I have set up an assign activity with the following:
assign = AttachPDFFiles = Directory.GetFiles(folderPath, “*.pdf”)
Then I am emailing these files. The problem I am running into is that it stores all the files in the array, so every time I run the job it keeps adding more files.
I have tried searching for help in the community forum and on google and cannot find anything that works.