I am uncertain on how to pass the file name from the GetFile process to a bash script so that we can call clamAV on it. I then need the result (success|failure) of the script passed back to nifi so we can route the flow. I can't seem to understand how to pass the arguments correctly or if I'm even using the correct process; ExecuteStreamCommand or ExecuteProcess. We had an sys architect designing this with us but he left, leaving behind a very complicated non-working example.
I thought I had configured an ExecuteProcess correctly but it doesn't allow me to connect GetFile to it.