Skip to main content
Question

How can I run a workspace from my app/script?

  • September 7, 2016
  • 1 reply
  • 6 views

fmelizard
Contributor
Forum|alt.badge.img+17

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.

1 reply

fmelizard
Contributor
Forum|alt.badge.img+17
  • Author
  • Contributor
  • September 7, 2016
Published Parameters

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 Desktop

Use 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 Server

Use 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.


Reply


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