okay it’s getting the staffnumber.pdf in the output field but I don’t want the file extension.
The error message": "Write Line: Index was outside the bounds of the array only appears when I have filename(1) in the write line activity.
Sorry for all the questions @chandu4712