Running Workflows from the Command Line

Workflows can be run from the command line. Workflows can be run from the command line to support console-based, automated or scheduled tasks. Maptek Workbench needs to be running in the background to support command line operations.

Run workflows from the command line by using the following steps:

  1. Open Maptek Workbench.

  2. Open Windows Powershell by searching for it using the Windows search box.

  3. Type the following and press Enter:

    C:\Program Files\Common Files\Maptek\Workbench\Shell
  4. Run the following command:

    ./WbCommand.exe -c Maptek.Workbench.Workflow.Commands.WorkflowDefaultRun -f <filename>.wfd

    Where it says <filename>, you will need to add the full path of the workflow diagram file.