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
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.
We are working on upgrade project 6.3 to 7.1.7. pega 7.1.x versions using data pages instead of CAInteration ,CAPortalinteraction etc. What i'm trying to do here is, changing the references where it is refered D_Ineraction pages instead of CAPotalInteraction pages. We could change the references in activity steps. but not in when rules.
Are you sure the When rule has the same context and/or Pages and Classes entries as the Activity? Ensure there are no other configuration issues that are causing the disparity between what you did in the Activity vs what you are trying to do in the When rule.
I changed the when rule to "D_Interaction[pyWorkPage.CAParentID].pyWorkParty(Patient).ProvierID is null" instead of pageexist expression. Then problem is solved. Anyway we can't use property reference in the the data pages subscript where we pass them as string parameter.
"PageExist" function is supprting for "D_Interaction" page because "PageExist" function parameter type is "String". When we are passing "D_Interaction[pyWorkPage.CAParentID]" as parameter, it fails from the function. I have found two solutions to overcome this issue.
Create new function to pass "D_Interaction" page as a "clipboard page" type.
Define parameter page first. Then convert "D_Interaction" page to "String" type(You can use GetName function to convert the "D_Interaction" page to String). Pass converted data page string parameter to "PageExist" function.
You can use above options depend on your requirement. Hope this will help you and others, specially in upgrade projects.