Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 09-26-2016 06:11 PM
I have a flow that uses an ExecuteStreamCommand processor to populate a folder with some data.
The actual flow files are essentially just arguments to a script that eventually generates some output.
When the script is done, I want to go pick up the output using GetFile or FetchFile, and then continue some further processing.
However, I can't seem to connect my ExecuteStreamCommand processor to a GetFile or FetchFile processor. The GUI simply won't allow it.
Can anyone straighten me out here?
Is there some reason that what I'm trying to do is invalid?
Is there a better way to accomplish this?
Created 09-26-2016 06:19 PM
You could use ListFile in a separate flow, it will keep track of the files it has listed so far, such that if your ExecuteStreamCommand generates more files in the specified location(s), only the new files will be listed the next time ListFile runs. Then ListFile can be routed to FetchFile to get the contents of the new files, etc.
Created 09-26-2016 06:19 PM
You could use ListFile in a separate flow, it will keep track of the files it has listed so far, such that if your ExecuteStreamCommand generates more files in the specified location(s), only the new files will be listed the next time ListFile runs. Then ListFile can be routed to FetchFile to get the contents of the new files, etc.
Created 09-26-2016 07:21 PM
Thanks.
I landed at a similar solution using GetFile.