Skip to main content
Best Answer

Using Dynamic Filename as parameter on FME Server

  • June 18, 2019
  • 2 replies
  • 73 views

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.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+62
  • 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!