Discussion

Reading from pxResults

I want to read a property value from pxResults and compare it with the UI field field that the user entered and

accordingly do the validation.But i am facing problem with this.

Following is the steps of the activity that i am using for reading the value:
Local.password = Loginpage.pxResults.pxResults(1).Password

In page And Classes tab,
LoginPage.pxResults = LeaveApplicationMgmt-Data-LoginInfo
LoginPage = Code-Pega-List

On saving ,i am getting the below error:
PropertiesValue: Property @baseclass.Password is undefined.
Invalid expression or reference: List/group property reference pxResults is missing a valid subscript value and cannot

reference an embedded property.
PropertiesValue: Property @baseclass.Password is undefined.
 
So could you please point out the problem in the syntax?

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

March 27, 2014 - 3:37pm

Hi

There is not much errors in the syntax, ecxept additional pxResut.

here it goes, XXXX =  Loginpage.pxResults(1).Password