Forum Discussion
SpiroTaleski
5 years agoValued Contributor
The Union Snap does not wait for the all inputs to be completed, and then to produce the output.
You should replace that Union Snap and try with Gate Snap.
The Gate Snap does not complete executing until the execution of all upstream Snaps is done.
Regards,
Spiro Taleski
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.