Thank you very much for your tip, it worked, but I have some doubts about how to use this GetSmbFile processor.
1 - I need to send a formatted E-mail body for each case and I would be able to do that with the previous processors I was using. How can I do this?
2 - Is there a way for the PDF file to be moved from one directory to another with this processor? I noticed that it manages to delete the file from the directory, but that is not what I wanted, I would like to move it from a send to sent directory for example.
3 - Is it an input-only processor? I can't connect it to any other processor before? Is he the first in the stream?
You store it into the cache with PutDistributedMapCache processor, you need the property to fetch the file back. DistributedMapCacheClientService controller and DistributedMapCacheServer controller are used with beforementioned processor.
When you need the pdf you use FetchDistributedMapCache and get the flowfile back into the flow.
I dont think it matters which system the path is located as long you have access to it. Do you have access to the path \\10.1.1.35\nifi from the machine where nifi is deployed? I'm not Linux expert but you need to test if the path with the file name is accessible by doing some system command or trying to access via file explorer.