Folks, I was recently asked by a user if we have a DeleteSFTP processor to handle file deletion AFTER some logic has been performed.
I noticed we don't have a processor covering that, and while ExecuteScript could be used to make this happen I wondered if it we should support that? The logic is simple: ListSFTP -> FetchSFTP - (if success) -> DoSomething - (if success) -> DeleteSFTP I think this pattern would fit those who are just too cautious to trust the "Delete file" "Completion strategy" available on FetchSFTP. The reason for caution is the assumption that although NiFi queues are persistent, things can still go wrong between the file being sourced and the "DoSomething" success obtained. What do you think?
