bw:wfexec_tool

This is an old revision of the document!


WF_Exec Tool

The WF_Exec tool allows an external batch file (most common) or program (.exe) to be executed via a workflow step. The most common use of the tool is to execute a batch file that, in turn, executes FTP functionality.

The tool consists of two functionality tabs.

Batch File/Program Execution

The Run tab is used to execute an external batch file or program. This is the most commonly used function of the WF_Exec tool.

WFExec Tab 1

  • Select (or enter) the full path to the batch file or program file to be executed.
  • Enter any arguments (parameters) to be passed to the process being executed.
    • The format of the arguments must match the format expected by the external application.
    • Double-quotes may be used as needed to support Windows requirements.
  • Select the “Wait for Exit” checkbox as needed.
    • When this option is selected the workflow will pause until it receives an exit code back from the external application indicating that its processing is done.
    • When this option is not selected the workflow will continue to its next step without waiting for the external application to indicate it has completed.

Windows Services Management

The Other Functions tab can be used to start, stop, and restart Windows services. This functionality should be used with caution since stopping a running Windows service could cause unintended issues.

WFExec Tab 2

  • Enter the name of the service to be affected. This process is similar to using the Windows net start and net stop functions.
bw/wfexec_tool.1571082244.txt.gz · Last modified: 2019/10/14 15:44 by runger