Forum Discussion
Hi bojanvelevski. This is such an elegant expression to achieve the task. I really appreciate the help. Thanks a lot!
Upon completion of the read operation, the “Multi File Reader” snap produces an output document that contains this field: content-location. Pass $[‘content-location’] to the “File Delete” snap with expression enabled for the “File” property. To ensure files are deleted only at the time of pipeline execution, uncheck “Execute during preview” on the File Delete snap.
Note: Currently, the “File Delete” snap supports deletions one file at a time.
Related Content
- 2 years ago
- 2 years ago
- 3 years ago