How to use existing terminal session

I am unable to use existing terminal session, even though i passed correct arguments.

thanks in advance


Did you happen to connect in intialize state?

by any chance did you check close connection?


Hi ManjunathReddy,
Hope you are well.
If you want to use a axisting terminal session, then you need to follow the next steps:

  1. Install the UiPath.Terminal.Activities package.
  2. Drag and drop the Terminal Session Activity and click on ‘Configure Connection’ button.
  3. Configure the connection. The information filled out in the image below is a DEMO. You need to enter the correct information.
  4. Go to the ‘Terminal Session’ properties and unselect the ‘Close Connection’ checkbox; and finally Create a Terminal variable of type TerminalConnection and assign it to the ‘Output Connection’ property.
  5. The ‘Connection String’ property is populated automatically after the ‘Configure Connection
  6. When you are created the terminal session then you can use another ‘Terminal Session’ activity and use the existing connection. In this case the Terminal variable.

Hope helps you! :+1:

the connection happened successful in initialization state.

I am getting error this while using the existing connection.

New connection

Existing Connection

Thanks Happy Automation.

there was terminal Session duplicate variables, it working fine,

thanks for response

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.