Hi, I'm using version 7.1. I'm doing some process orchestration and I have a requirement to send an email with an attached .csv which needs to be generated. I have this part working, I create the csv on the job server drive using a script component then pick up and attach the file. My problem is in the deletion. I'm using the FilComponent - DeleteFile component. When it executes it fails saying the file is still in use. When I create the .csv in the script I'm using a StreamWriter with the 'using' 'end using' directives so the StreamWriter should be disposed of and the file unlocked. I tried explicitly calling .Close() on the StreamWriter on top of the 'using' to no effect. I'm wondering if there is some concurrency going on in the job queue that is causing this to happen? Any hints as to how to get this working like I want?
- Products
- Solutions
- Resources
- Trials
- Support
- Partners
- Communities