Skip to main content

Hello! I have recently started working with FME Flow. I’m just testing the possibilities of writing to the Fme flow temporary resource directory, which causes the translation to fail immediatly. My script is just a reader, which in this case is reading from a shapefile, as well as a feature writer. The featurewriter is set to write to oFME_SHAREDRESOURCE_TEMP] and the response i’m getting when running the workspace is this: 

 

Has anyone encountered this before, and is there any hope for me and my workspaces in FME flow? 

Thanks!

/Alex

You’re running it on Form, have you given the parameter FME_SHAREDRESORCE_TEMP a local value so it knows which folder to use for writing your result?


You’re running it on Form, have you given the parameter FME_SHAREDRESORCE_TEMP a local value so it knows which folder to use for writing your result?

You can set this in the Navigator, FME Flow Parameters, sFME_SHAREDRESORCE_TEMP], right click, edit value.


You’re running it on Form, have you given the parameter FME_SHAREDRESORCE_TEMP a local value so it knows which folder to use for writing your result?

Yes, I’m running it on form, but writing to the FME-sharedresource_temp on fme flow in order to store data temporarily whilst the script is running. it is a FME Flow parameter that is predefined. Sorry if that was unclear. Would writing locally still be necessary?


You’re running it on Form, have you given the parameter FME_SHAREDRESORCE_TEMP a local value so it knows which folder to use for writing your result?

Yes, I’m running it on form, but writing to the FME-sharedresource_temp on fme flow in order to store data temporarily whilst the script is running. it is a FME Flow parameter that is predefined. Sorry if that was unclear. Would writing locally still be necessary?

if you run it on Flow, it will write to the temp folder on Flow, as Flow has a value attached to the parameter FME_SHAREDRESORCE_TEMP

but if you run it on Form, by default the parameter FME_SHAREDRESORCE_TEMP is empty (<not set>), so you have to give it a value to be able to use it

https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Transformers/!Transformer_Parameters/FME-Flow-Parameters.htm


You’re running it on Form, have you given the parameter FME_SHAREDRESORCE_TEMP a local value so it knows which folder to use for writing your result?

Yes, I’m running it on form, but writing to the FME-sharedresource_temp on fme flow in order to store data temporarily whilst the script is running. it is a FME Flow parameter that is predefined. Sorry if that was unclear. Would writing locally still be necessary?

if you run it on Flow, it will write to the temp folder on Flow, as Flow has a value attached to the parameter FME_SHAREDRESORCE_TEMP

but if you run it on Form, by default the parameter FME_SHAREDRESORCE_TEMP is empty (<not set>), so you have to give it a value to be able to use it

https://docs.safe.com/fme/html/FME-Form-Documentation/FME-Transformers/!Transformer_Parameters/FME-Flow-Parameters.htm

I see, that makes sense! I find it a bit confusing that it is listed as a fme flow parameter however. As long as it works :) 

Thanks for your help and input!

 

/Alex


Reply