We are using Rocket Bluezone for our host mainframe sessions and I had configured the connection earlier and it worked fine. But then we updated the Studio and formatted the computer and I had to reinstall Rocket Bluezone. But now when I try to run the workflow, I get the error: Error connecting to terminal: ErrorCreatingTerminalProxy.
All our new processes use direct connection, this process was developed long time back, and we are now trying to move it to direct connection design, but I see there is no option to open " Host File Transfer - Send" dialog box -
refer screenshot below (on left - Direct connection with no option “Transfer” on top, and on right side-blue zone terminal with File transfer option)
this is connection string I am using - “{‘AttachExisting’:false,‘ConnectionProtocol’:0,‘ConnectionType’:1,‘EhllBasicMode’:false,‘EhllDll’:null,‘EhllEnhanced’:true,‘EhllFunction’:‘hllapi’,‘EhllSession’:‘A’,‘EnableSSL’:false,‘Host’:‘xxxx1.xxxxx.com’,‘InProcessMode’:false,‘InternalEncoding’:‘IBM037’,‘Mode’:2,‘Port’:23,‘Profile’:null,‘ProviderType’:9,‘ShowTerminal’:true,‘TerminalModel’:0,‘TerminalType’:0}”
That window you took a screenshot of is the UiPath terminal recorder. It’s not what’s used when the automation actually runs, it’s just for you to record your steps then it spits out the activities. I never use it, as it gives you no way to get back to where you left off - basically to me the recorder is useless and shouldn’t be used. You just have to code the steps/activities manually. I do this by doing it manually in BlueZone so I can get text/field positions, lengths etc as I code the activities.
Also, even when using BlueZone you shouldn’t be doing UI Automation (ie clicking buttons etc), you should be using the Terminal Activities. You are using Send Keys, Send Control Key, etc from the Terminal Activities, right - and not Use Application/Browser, Click, etc? Are you even connecting to an actual mainframe? It would seem that there should be some sort of keyboard command available in the mainframe screen if it allows you to send it files.
Yes, it is the recorder. I just wanted to show that there is no option to click “send files” which is normally present in the toolbox. Yeah, I know I will need a keyboard command which I can pass it in “Send Control Key”. We are working with the application support to find out the alternative way to send the file using other applications.
Meanwhile I wanted to get more info about if there is any native support for direct connection, to work with toolbox options (File, Edit, Session, options, and Transfer)
You likely wouldn’t send the file with another application, you’d send it with another protocol such as FTP, which you can do in your automation with an activity.
That’s all BlueZone is doing. It’s not really doing anything through the terminal session, it’s just giving you access to other protocols to send files.