"Set field at position" is disabled on UiPath Terminal Wizard

When I use UiPath terminal wizard in IBM EHLLAPI I can connect to the open session on my client, but I can’t use the “Set field” and “Set field at position” activities because they are disabled.
The other menus (Type, Send control key…) are enabled and function correctly

Do You know how to enable it ?

Here is my connexion string :
“{‘AttachExisting’:false,‘ConnectionProtocol’:0,‘ConnectionType’:2,‘EhllBasicMode’:true,‘EhllDll’:‘C:\Program Files\Quick3270 Secure\ehlapi32.dll’,‘EhllEnhanced’:false,‘EhllFunction’:‘hllapi’,‘EhllSession’:‘A’,‘EnableSSL’:true,‘Host’:null,‘InProcessMode’:false,‘Mode’:1,‘Port’:23,‘Profile’:null,‘ProviderType’:4,‘ProxyHost’:null,‘ProxyPassword’:null,‘ProxyPort’:0,‘ProxyType’:0,‘ProxyUser’:null,‘ShowTerminal’:true,‘TerminalModel’:0,‘TerminalType’:0}”

UiPath Studio V23.10.8
UiPath.Terminal.Activities 2.8.1
3270 Session client : Quick3270

Thanks for your help

Hi @Samuel33

Please refer below thread

Hope this helps.

Regards
Sonali

Thank you for your reply, but it still doesn’t work. When I select the field to be filled in the source application, the “Set filed at position” and “Set field value” fields are still disabled.
In addition, the fields “Get Field Value”, “Get Field at position” and “Get Screen area” are not accessible either.
And The “Show Field Properties” menu remains empty.
It seems that the wizard cannot get the cursor position on the source screen.
Any guess ?

The EHLLAPI implementation in Quick3270 is very buggy. You also have BasicMode=True.
Because of this, the field detection is disabled and therefore Set/Get Field activities are disabled.
Anyway, the best practices for the terminal activities mention that these types of activities are to be avoided.
Your options:

  1. Continue using EHLLAPI with basic mode and follow the recommendations in the terminal activities best practices. But because of the buggy EHLLAPI implementation, you may encounter issues elsewhere.
  2. Set up the connection using Direct Connection. It does not use a 3rd party emulator. For setting the connection, try to replicate the settings from Quick3270 into the Connection settings screen for Direct Connection.

Thank you for your answer. However, I can’t apply the good practices mentioned because I can’t use the “Move Cursor” activity either (which causes the error : “There was an error setting cursor position. Error code: Error"). The only thing I can do is type “random” “Type” activities.
No matter how hard I try to check or uncheck Basic Mode, these activities don’t work.

What’s more, we can’t use direct connections in our context.
Thanks for your help

You can try moving the cursor via SendControlKey=Tab, repeated as many times as needed.

You can also try using UI activities to automate Quick3270.

Thanks for your answer, but I can’t do this because we already have many automations written using the “set field at position” activity. We were previously using another 3270 client (Rumba), but now we have to switch to Quick3270.

I wouldn’t even use the wizard. It’s not very useful, especially because it doesn’t allow you to pick up where you left off. I just open a third party terminal client and do the steps manually, adding the activities to my code manually as I go. Also, I find the best method is to use Move Cursor to put the cursor where you want, then Send Control Key - Clear EOF, then Send Keys. That’s how I enter data into the terminal. Also, if you’re not using Direct Connection you should. It’s much more reliable than using a third party client.

Thank you, recently we were using the third-party client “Rumba” to which we connected the UiPath wizard, enabling us to pick up where we left off and facilitate the development of complex automations.
But I think we’re going to have to do as you suggest and abandon the wizard for good.

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