Skip to main content

I have a process that writes a number of graphs to a folder on the network.  It works great in FME Form.  If I attempt to publish this workspace to FME Flow as a Job Submitter it doesn’t write the files to the folder at all like the same file does at the desktop level.  The output path is set up in an RCaller so there isn’t a Writer in the .fmw script like normal.  There are zero errors on the desktop side, and I have made sure the FME Flow portion no R packages are causing errors.  When I run this process, I receive zero errors in Flow, but none of the files write to the directory.  The end process would be that a person could upload a number of spreadsheets run this process from a webpage (Flow) and the output would show up in their department’s folder.  I read in the community about it possibly writing to another directory and I attempted to check that out without success.  Any help or guidance would be appreciated.  

Hi ​@wisegis

Are your FME Flow Core, Application Server and Engines running under a service account? This is a requirement for FME Flow to write to a network drive. Can you confirm if the service account has permission to run the script and permission to write files in the network drive?

 

-Dylan


The workbench file is running on the same server.  No issues or errors and the files go into the network folder exactly as intended.  I am an administrator on this box.  I also have write access to the destination folder.  The flow job runs without error but will not write the files to the same folder.  I am logged in as the administrator in Flow as well.  I have a feeling that Flow is writing the data to some temp directory folder.  Log file from Flow is attached.  


Hi ​@wisegis,

FME Form uses the permissions of the Windows account you are logged in with. However, since FME Flow runs as a service, it operates under the permissions of the account configured for the service, which by default is the Local System account unless explicitly changed. File system access in FME Flow, including network drives, is determined by the permissions of the service account running FME Flow. Accounts in FME Flow will inherit the same file system permissions as this service account.  


While your Windows account has permission to write to the network drive, the account running the FME Flow services may not. As a result, the RCaller transformer may be attempting to write to the network drive but is unable to due to insufficient permissions, causing the data to be redirected to a temp location instead. 

If writing to a local folder with FME Flow does the RCaller write to the correct location? 

 

Please see the following resources: 

https://support.safe.com/hc/en-us/articles/25407413069965-Testing-Account-Permissions-for-FME-Engine-Service

https://docs.safe.com/fme/html/FME-Flow/AdminGuide/Running_System_Services_Under_Different_Accounts.htm

 

-Dylan 


Reply