Keeping Terminal Session in invoked Workflow

Scenario: We are invoking a workflow in a terminal session, we need to keep the terminal session connection in our invoked workflow to use terminal activities. We have tried an additional terminal session connection in our invoked workflow with the same configuration.

We receive the error message “There was an error connecting to the terminal”
Exception Type: Exception

System.Exception: There was an error connecting to terminal. Error code: Error
at UiPath.Terminal.Activities.TerminalSession.OnFaultedCallback(NativeActivityFaultContext faultContext, Exception exception, ActivityInstance source)
at System.Activities.Runtime.FaultCallbackWrapper.Invoke(NativeActivityFaultContext faultContext, Exception propagatedException, ActivityInstance propagatedFrom)
at System.Activities.Runtime.FaultCallbackWrapper.FaultWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

How can we continue the connection?

Thank you for any insight.

Hi Bridget,

I know I’m a bit late to the party, but did you try to untick the ‘close connection’ box in the terminal session properties?

1 Like