Run Program

The Run Program activity executes an external application as part of a process flow.

Table 1. Run Program Options
Option Name Description

Program name

The path to the executable you wish to run.

Arguments

Specifies command line arguments to pass to the program specified in the Program name field. Separate multiple arguments with spaces. You can use variables defined on the Variables tab as arguments by clicking Insert Variable. For more information on variables, see Using a Variable to Reference a File.

Time out (in seconds)

Specifies an amount of time to wait for the program specified in the Program name field to respond. If the program is unresponsive for the amount of time specified the process flow will fail.

Environment variables

Specifies environment variable values to use when running this program. If you specify values here the program will use these environment variables instead of those specified on your system. Otherwise, it will use the environment variables specified on your system. Note that if the program you are calling uses multiple environment variables you must either define values for all of them or none of them. Specifying values here does not change the environment variable definitions on your system.

Click Add and enter the name of the variable in the Variable Name field. An example might be "JAVA_HOME". Enter the value of the variable in the Variable Value field. An example might be "C:\Program Files\Java\jdk1.6.0_17." Instead of entering a value you can click Insert Variable to set it to the value of a variable defined in on the Variables tab.