How to connect to the existing AS400 terminal connection

Can anyone tell me in the terminal session activity how to populate the value of existing connection with the terminal connection value.

I want to connect to the existing terminal window.

Also when I am trying to create a new connection using terminal session activity, I am not able to send the F4 key in the “Send control Key”, it is giving text on screen saying “Print operation performed”

Any help is appreciated as it is urgent

Hi.

In the Terminal Session activity, there is an Output Property for Connection. You want to create a TerminalConnection type variable and use it in that Output Property. Then, in other Terminal Session activities throughout your workflow you can use that same variable in the Existing Connection Property. Keep in mind, however, that you still need to create a new connection with the Terminal Session each time you run your process… meaning you can’t attach to an existing Terminal window with the Terminal Session, from my understanding. —ideally, you would close out of the existing terminal windows at the very start of your process, so you can create a new connection and not have conflict between having multiple terminal windows open.

I hope that helps with the first part.

For the Send control key issue, I am not sure to be honest, but if you provide a better explanation or screenshots of what it is doing and of your activity/properties used, then maybe someone can give a solution.

Thanks.

1 Like