Posted: 11 May 2020 6:29 EDT Last activity: 20 May 2020 16:07 EDT
Text adapter - dealing with different screen definitions
In my Text Adapter, all screen have a screen definition of "TN3270m2 (24x80)". Except for one screen. To successfully interrogate this one screen I need to adjust the "ScreenDefinition" property of the Text Adapter to "TN5250M5 (27x132)". For context: I need to get information out of this last screen by using a partial screen, so it's essential the screen is shown correctly.
Now I want to build a flow for this screen. Is it possible to adjust the "ScreenDefinition" in my flow? There is a "ScreenDefinition" property, but I don't know how to use this property.
Solved this problem by extracting a proxy from the ScreenDefinition property. By doing this, I could acces the rows and columns properties (which both accept an integer).
This way I could adjust the ScreenDefinition at the start of my automation, get the required information and then adjust ScreenDefinition back to the normal again (so it doesn't affect any other automations).