How can I run a workspace from my app/script? When I run the workspace, I want to provide a variable that changes how the workspace processes data or even what is processed.
External applications can configure workspaces with user parameters, which have been published. Learn about how to create a published parameter. One a published parameter is created, you can test it in FME Desktop and FME Server.
FME DesktopUse the runWithParameters() method from the FMEWorkpaceRunner class offered by FME Objects to run a workspace and provide published parameters. FME Objects is provided in a number of programming languages including Python, .NET and Java.
FME ServerUse the transact or submit methods from the transformation section of the REST API to run a workspace and provide published parameters. More information on running workspaces from an app/script are available and examples in Python, C# and Java are provided.
If you absolutely have to use an executable, then the FME Server Console is provided as well.