Question

How to reference parent property in Validate rule.
Now my context is "pyWorkPage.ParentList(x).ChildList(y)" in Validate rule.
I want to reference "pyWorkPage.ParentList(x).ParentValue".
Then I want to specify "Parent.ParentValue".
But "Parent” keyword can't be used in Validate rule.
Is there any good way?
-
Like (0)
-

Hi NehaMittal
Thank you for your repply.
Do you mean I can specific "pyWorkCover.ParentValue".
I tried but it failed.
I want to refer to "Parent Property" Not "Parent Case Property".
Best regards,

can you please let me know what do you mean by parent property?
Does that mean property coming from the super class?

Hi NehaMittal
I mean "Parent Property" is a property on the enclosing page of the current context, which is an embedded page.
I want to use The PARENT keyword. But it is not valid in Validation rule.

Hi,
can you use some examples mentioned in the below link:
this link can be refer:
https://collaborate.pega.com/question/subcase-how-refer-containing-parent-case

I tried Primary.ParentValue.
But PRPC attempt to reference "pyWorkPage.ParentList(x).ChildList(y).ParentValue".

Could you share screenshots for your configuration?
There is no way to refer the parent property in Validate rule. But I just want to know how are you calling the Validate rule for page list property. You can run Validate rule on page list property that will give access to child properties as well as current page properties as well.

Hi rawap
Thank you for your repply.
I understand your suggestion.
I will run Validate rule on page list property and access to child properties as well as current page properties.
Best regards,