โ07-09-2020 07:16 AM
Hi Team,
Would it be possible to consider โDeleteโ as an operation for File Operation snap pack. In a generic implementation where we taking operation as a pipeline parameter this helps to cover both move (archive) as well delete (purge) option for file transfer behaviour with a single snap, avoiding router and union steps.
Regards,
Sripathi
โ07-13-2020 12:19 PM
@sg_sripathi, what youโre describing is actually the โMoveโ file operation. The File Operation snap has only three operations: Move, Copy, and Rename.
However, you can make a little transformation for the โDeleteโ:
_operation == "Delete" ? "Move" : _operation
where operation is a pipeline parameter.
โ07-13-2020 02:41 PM
Thanks @igormicev. However due to large volume of file at the source I really need to delete the files once processed, moving is not an option.