Discussion
Property reference can't be used as subscript in data page
Why we can't use the property reference as data page subscript. If refer it is throwing below run time error.
Expression: @(Pega-RULES:Default).PageExists("D_Interaction[pyWorkPage.CAParentID].pyWorkParty(Patient)")
Flow PatientProviderSearch had an error in step Decision1: com.pega.pegarules.pub.runtime.IndeterminateConditionalException: in RULE-OBJ-WHEN CVD-FW-CCF-WORK ISPATIENTCONTACT #20150708T134929.892 GMT: The reference D_Interaction[pyWorkPage.CAParentID].pyWorkParty(Patient) is not valid. Reason: declare page parameters not supported by PropertyReference
Any idea?
Thanks
This is a complicated post to unravel, but I'm assuming you have a page that you are trying to check on (using PageExists) and you are trying to have PRPC find it via this data page reference. Apparently PRPC is trying to find your page reference but cannot do it at runtime using the parameters being passed to the data page. I don't have an answer regarding why you can't use a property reference, but I'm wondering if there is any other way to check for the existence of the page besides using the data page property reference.