My Workflow is using a FileReader object to open and read a file stored on the local machine but it keeps failing with permission denied on the file. I have assigned complete permissions to the file for "Everyone" so permissions are not the real problem here. Is there a problem with this API? Could someone perhaps try that on own machine to see if the problem will be visible there too?
Here is the code of my custom Action ran from my custom workflow which simply exucutes this Action:
var fh = new FileReader("C:\test_file.txt"); // note I have double "\" there but this forum is not formating it properly
var content = fh.readAll()
Have you made the necessary changes to the js-io-rights.conf file as described on page 49 of the vCO Admin guide and restarted your vCO Server service?
This change is required to allow the reading/writing of files on your vCO server.