Run Application Activity


The Run Application activity runs a command line application on the server.


  1. A workflow in a client application could use the Run Workflow activity to run a server workflow.
  2. The server workflow could use the Get Workflow Inputs activity to collect data passed from the client workflow.
  3. The server workflow could use the Run Application activity to run PowerShell, or another application on the server, to perform a computation, business operation, or some other analysis. The input data from the client workflow could be sanitized and supplied as arguments to the application.
  4. The server workflow could then interpret the exitCode and outputData results of the Run Application activity to determine the success or failure of the application and compute any result values.
  5. The server workflow could use the Set Workflow Output activity to return result values to the client application.
  6. Finally, the client application could use the result values to update the application or present information to the end user.

To use this activity:


File Name


Type: String

The file path of the application to be run on the server.



Type: String

The command line arguments to pass to the application.



Type: Number

The time span in milliseconds to allow the application to run. The default is 60000 (one minute). If the timeout is reached before the application completes, the application will be terminated.

Wait For Result


Type: Boolean

Whether the activity should wait for the application to exit before completing. If false, the activity will start the application and then complete immediately without returning any output values. The default is true.



Type: Number

The exit code of the application.


Type: String

The text written by the application to the standard output stream.


Type: String

The text written by the application to the standard error stream.


For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Supported Environments

Environments capable of running this activity






Experience Builder

Web AppBuilder

Geocortex Viewer for HTML5

Levels of Support:      Full Support      Partial Support      No Support

Connectivity Requirements

This activity does not work when the device has intermittent connectivity to the network.