v22 Pega Studio: Unable to read field value by index of Text adapter partial screen

Hello,

Need help on an issue in 22 version.

After upgrading 19.1.125 project to 22.1.36 , we are facing issues in the automations using partial screens. Reading any field value by index is throwing exception - "Could not find instance from KeyProvider. KeyName: Index… ". Same automations are working in 19.x version.

Attaching the snapshot of the exception.

@SudR5222I have not encountered this specific issue myself. I do know however that key fittings can be fickle. I delete the instance of the partial screen from the automation and re-add it. This should trigger Studio to recalculate the upstream key and allow you to select Index again and connect it to your loop.

If this doesn’t work, the next thing I would try would be to recreate this automation (or even a simpler one) from scratch just to confirm that you can access any data from partial screens. To do this, I would simply create a blank automation that accepts an integer (which would be your index) and then gets the text property of the partial screen and returns it to an exit point. You can then test this during interrogation to see if it works there.

If that is also failing, I would open a support request, as the getting hands-on with your application would be necessary at that point.

@ThomasSasnett Thanks for the response. I tried an automation from scratch as you mentioned and getting same error. However able to read partial screen using listloop on GetClones method.

Creating support request for now as most of our existing automations reads partial screen by index only.

Sudhir

@SudR5222 Please let us know the INC. We can add any resolution in once resolved.

Incident INC-B36832 created for the issue.

@SudR5222support ticket INC-B36832 has been resolved with the following explanation:

This bug is fixed in Pega Robotics V22.1.39 and it is released and available for your to download. Please download the build from below link:

https://my.pega.com/

Download it from Mysoftware tab

Please install the build and test the scenario.