Cannot reference a Data Page .pxResultsCount property in a when rule from a different class

Hello,

I have a data page (structure = list) named “D_RetrieveDataFromTable” and I need to reference it in a when rule in class “YYY” in order to check if its pxresultcount is >0.

The Data Page has class “XXX” as Object Type and references a report definition in class “XXX” as source.

This is my when rule condition:

D_RetrieveDataFromTable[CSPID:.OpportunityID,Status:“"NEW","READY"”].pxResultsCount>0

I get this error:

This record has 1 error(s) in 1 place(s) .

Field name in condition definition—

Property XXX.pxResultsCount is undefined.

How can I solve this?

Thanks.

BR,

FL

Hi @FedericoL0914

It seems like the property is pxResultCount and not pxResultsCount. try pxResultCount

Regards,

Vishwa Teja