Question
IT Solution Service
SG
Last activity: 29 Nov 2018 23:06 EST
What is the standard OOTB when rule for evaluating Review Harness / Perform Harness?
Hi,
What is the standard OOTB when rule for evaluating Review Harness / Perform Harness for the current screen of a work object? I expect that to be provided in @baseclass so we can call from any class (Work- / Data-).
Thanks,
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
Hi, There is pzIsInPerform when rule in baseclass and you could give it a try for your checkbox visibility condition. Could you elaborate your use-case little bit more so that we can try to see other options. If you only want to show some rows in grid based on the current harness type you could try the "pzIsInPerform " when rule for perform harness but I don't see other ones for review harness in baseclass. So you may have to write a new one based out like what pzIsInPerform does.
Hope this helps!
TechMahindra
IN
Hi CloeW938,
You can use below OOTB when rules,
1. "IsPerform" when rule which is there in @baseclass to identify PerformHarness.
2. "OnReviewHarness" when rule which is there in @baseclass to identify Review Harness.
IT Solution Service
SG
Hi,
Are you sure that two when rule instances exist? I am using 7.4 and it does not exist in @baseclass.
Thanks,
Pegasystems Inc.
IN
You can use pzIsPerform and pzIsReview when rules. Both of them will be in Work- class. What is the use case of having them in @baseclass?
Even if you have embedded flows running on data page still work page will be the container and still these when rules be used.
Let us know if this helps or you need more information :)
IT Solution Service
SG
Hi,
Thanks for your comment, but I am still unable to find pzIsPerform nor pzIsReview when rule anywhere. From 7.4 old: syntax is not available anymore in Full-Text-Search, but even when I search from When rule type explorer I don't find either of them. Are you sure they exists in 7.4?
Thanks,
-
Ramesh Kumar
Pegasystems Inc.
IN
Yes, they exist in 7.4. You can try referring them directly in some form and open using rule opener icon.
IT Solution Service
SG
Thanks, and you are right. I was able to find it. Sorry to ask you a lot of questions, but you said this when rule is still usable even in context of Data class. However I am unable to save this when rule in Grid that refers to Data class. In below scenario, I have a page list in Work class that refers to MyCo-MyApp-Data-Test class. If I want to apply "pzIsPerform" when rule in one of properties (pySelected property in below screenshot) in this page list in Grid, how exactly should I specify it?
IT Solution Service
SG
Hi,
Sorry, but is there any solution for below question? I am not sure how I can reuse out-of-the-box rule instance in Work-. to Data class..
Thanks,
Accepted Solution
Pegasystems Inc.
US
Hi, There is pzIsInPerform when rule in baseclass and you could give it a try for your checkbox visibility condition. Could you elaborate your use-case little bit more so that we can try to see other options. If you only want to show some rows in grid based on the current harness type you could try the "pzIsInPerform " when rule for perform harness but I don't see other ones for review harness in baseclass. So you may have to write a new one based out like what pzIsInPerform does.
Hope this helps!
IT Solution Service
SG
Thank you!
-
Marcelo Marote