Mainframe Partial Screen Matching Issue

Interrogated partial screen in the Mainframe application using Pega Robotics Studio V22.1.31 but it’s not matching in the Palette. Also, updated the Match Region as Simple even though it’s still not matching in the Palette.

Please need your advice on the same.

@AsvinthS17189176What is your match rule for the partial screen? That entire line appears blank. You’ll likely need a RegEx pattern to match in case that area gets populated by values. Perhaps there is whitespace or something between the areas where data might appear that you can use.

@ThomasSasnett Hi, thanks for your support. I have updated the match rules for the partial screen as Simple “Null” and it’s working fine. Also, have a doubt if it’s data populated in the fields , what regex could be useful?

@AsvinthS17189176To match a partial screen that is mostly blank can be tricky. You need to identify some text or lack of text that is only present in the partial screen. For this screen, it seems like the partial screen line might not be unique except when between specific rows. You might try defining a partial screen that spans rows and then within that, define a child partial screen that spans each row below the header. You might use a RegEx that defines the entire row. It appears that between areas where you could enter data, there are whitespaces that can be used within the RegEx. There’s also a asterisk at the end of the data area you can use as well.