fmeobjects.FMEWorkspaceRunner.promptRun

FMEWorkspaceRunner.promptRun(workspace, parentHandle)

Executes the workspace file specified. This method will always prompt for any published parameters before running the workspace.

This method will run mapping files in addition to workspaces. However, workspaces are preferred over mapping files due to the configuration ease workspaces provide.

Parameters:
  • workspace (str) – The path to the workspace to run.

  • parentHandle (int) – (Optional) The window handle that the FME prompt dialogs will be bound to.

Return type:

None

Raises:

FMEException – An exception is raised if the running of the workspace failed.