Skip to main content
Solved

Using Dynamic Filename as parameter on FME Server


Hi,

I have a workspace which looks at all files in a location (using a "Directory and File Pathnames" reader), picks the file that I want (using a tester), reads the attributes with a feature reader and writes it to a database. This works fine when I run this workbench in desktop.

When I publish the workspace to FME server it requires the user to fill in the Source Dataset. This workbench is triggered by another one, so it fails at this step. Is there a way to use an attribute as the default source dataset on FME Server?

Thanks in advance

 

Best answer by redgeographics

If you run it through an FMEServerJobSubmitter or as part of an automation you should be able to set the parameter for the source data using a value that's coming from the first workspace.

View original
Did this help you find an answer to your question?

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+48
  • Celebrity
  • Best Answer
  • June 18, 2019

If you run it through an FMEServerJobSubmitter or as part of an automation you should be able to set the parameter for the source data using a value that's coming from the first workspace.


  • Author
  • June 20, 2019

Of course - thanks for your help!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings