Need to attach to an existing mainframe session instead of opening a new one(manually logged in)

I’m using UiPath with a mainframe terminal (Rocket BlueZone) that is already logged in manually outside the automation. I want UiPath to attach to this existing session instead of launching a new one.
I tried couple of ways but its failing to attach.

1 Like

You really shouldn’t be doing it this way. You should have the automation log in using Direct Connection instead of a third-party client. Why are you trying to log in manually and then have the automation take over that connection?

1 Like

We are doing it. But its required for one of the use case!thats why I am checking here!

1 Like

@logesh_kumar1, you can connect to the session opened in BlueZone using the EHLLAPI provider. The connection settings should look something like this:

1 Like

Thank you so much!it works! is there a way to open a application with this kind of workaround! I tried using traditional way but its opening 2 sessions (I am having only one terminal activity)

The EHLLAPI provider will not open BlueZone. It needs to be started and connected before the terminal connection is attempted.
The options:

  • start manually for the recorder session or for attended scenarios (when the automation is not responsible for starting BlueZone)
  • use UI activities like Start Process to start BlueZone followed by Check App State to wait for it to load properly before attempting to execute the terminal session