Skip to main content

Hello everybody,

I want to make my FME workbench executable from outside of FME. What expected is something like a program you can open by double click. After that a window should be opened where you can enter a few user parameters. By clicking another button the FME workbench should be runned and the user parameters should be used in that workbench then. Do you have any experiences with that? Is there a feature in FME that allows something like that?

Best regards, Felix

The easiest by far, is to use FME Workbench and use the "Run with prompt" option, which will present the user with all the published parameters: https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Workbench/Workbench/Running_a_Workspace_with_Published_Parameters.htm

For other options, this is a good starting point: https://knowledge.safe.com/articles/975/batch-processing-method-1-command-line-or-batch-fi.html


There's also the FME Quick Translator, which will let the user set parameters. You can set a password on your workspace so your users can run it there, but not make edits in Workbench.

In FME Objects there is an iFMEWorkspaceRunner method that will let you run a workspace within code. So you can write your own application and call a workspace, passing parameters to it.

But really FME Server - especially the Server api - is what I would think is the best solution. Then you can query the workspace to find out what parameters exist, present those parameters in a web page, and let the user run the workspace, without them having to have the workspace or data locally.


If you really don't want to use Workbench or Quick Translator, you could look into creating .bat files.

 

 

When you double click this .bat file, you can start fme processes. The major trick would be to let the user specify the parameters before translation.

 

 

See this link for more information: https://knowledge.safe.com/articles/975/batch-processing-method-1-command-line-or-batch-fi.html

Reply