Run Action—Setting Properties

The Run action is used to start an application or open a document. This includes the option to open a console application and to capture the output to a variable or file.

The step can be set to wait until the application is ready for input, wait until it completes, or not wait at all. You can populate variables or a dataset with data from the window or process. Any variables used must be created in earlier steps using the Create Variable action.

To set Run properties

  1. From the Workflow Builder Available Actions pane, open the System folder and double-click the Run action or drag it into the Steps pane.

  1. In the General tab, use one of the following ways to select the program or document to run:

  2. If you want the program to open only if not already open, select Run only if another instance is not running.

  3. If the window will not be in its normal state when the step runs, select the applicable window state in the Initial window state box.

  4. If your system requires a startup folder, click the Open Folder button next to the Startup folder box, and navigate to the startup folder. This is for legacy applications that require a startup folder. For most applications it can be left blank and the folder that the application resides in will be used.

  5. Click the Wait tab and make your selections according to the following guidelines:

  6. Click the Data tab and make your selections according to the following guidelines:

  1. If you want the application to run as a document or as a console application, click the Advanced tab and make your selection in the Run application as box. (By default, the application runs as a standard Windows application.)

  2. If you want to use a custom description, click the Description tab, select Use custom step description, and type the description. This description will display in the Steps pane in place of the default description.

  3. To set error handling, refer to Step Error Handling.

  4. Click OK when finished.