UiPath Activities

The UiPath Activities Guide

Terminal Session


A container that connects to a terminal and enables you to perform multiple actions within it.



  • ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports Boolean values (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.


If this activity is included in Try Catch and the value of the ContinueOnError property is True, no error is caught when the project is executed.

  • DisplayName - The display name of the activity.


  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

New Session

  • ConnectionString - The string that contains the connection details. This field supports only strings and String variables.
  • OutputConnection - The established connection, stored in a TerminalSession variable. This variable can be passed on to other Terminal Sesssion activities in the ExistingConnection property field if you want to reuse the connection that is already established. This field supports only TerminalSession variables.


  • DelayMS - Delay time (in milliseconds) before the activity begins performing any operations. The default value is 1000 milliseconds (1 second).
  • TimeoutMS - Specifies the amount of time (in milliseconds) to wait for the activity to run before an error is thrown. The default value is 50000 milliseconds (50 seconds).

Use Existing Connection

  • CloseConnection - If this check box is selected, the existing connection is closed after the activity stops execution. By default, this check box is selected.
  • ExistingConnection - Supplying a TerminalSession variable in this property field uses the connection stored in the variable to connect to a terminal. This field supports only TerminalSession variables.

Updated 8 months ago

Terminal Session

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.