I’m trying to read text files from the webPortal through a JavaSnippet using a FileReader and a BufferedReader. If I execute the WorkFlow from local everything is fine, but when I try to execute it from the WebPortal apparently it’s unable to read the text file. I suppose this is because it doesn’t reach the path to the text file. How can I fix this?
I almost solved it, the only thing I need to know is where to store my text files so they can be read when the workflow is executed from the web portal.
Now I’m storing my text files in a temporary directory but apparently the temporary directory is created locally and i can’t access the local files from the web portal.
Though, when I try to change the configuration of the create temp dir to be created in the workflow folder I’m unable to store my files there.