Question
Mizuho Information & Research Institute, Inc.
JP
Last activity: 20 Sep 2017 20:13 EDT
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)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
J.P. Morgan Services India PVT Ltd
IN
I guess you can use pyWorkCover page.
Mizuho Information & Research Institute, Inc.
JP
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,
J.P. Morgan Services India PVT Ltd
IN
can you please let me know what do you mean by parent property?
Does that mean property coming from the super class?
Mizuho Information & Research Institute, Inc.
JP
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.
J.P. Morgan Services India PVT Ltd
IN
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
Northbridge Insurance
CA
Try using Primary.ParentValue
Mizuho Information & Research Institute, Inc.
JP
I tried Primary.ParentValue.
But PRPC attempt to reference "pyWorkPage.ParentList(x).ChildList(y).ParentValue".
Pegasystems Inc.
IN
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.
Mizuho Information & Research Institute, Inc.
JP
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,