JohnL881 Member since 2013 15 posts
Posted: April 30, 2015
Last activity: July 17, 2017

Using ANY [entry][relation][value] in a When rule

Hi all,

we have a value group property of type text and want to use a When rule to determine if the value of a Property on the workpage equals one of the value in the given value group. Here's a screenshot showing the when rule and an test data transform. In this case it works as expected:


In our case, the value group Property is not on the workpage, it is contained in another top level page. Adding that page to the Pages & Classes tab of the when rule and running it causes the When rule to fail. The result is neither true or false, it's an error message. Screenshot below.

Does anybody know a way to accomplish what we are trying to do?

This when rule is referenced as a precondition in an Activity step. That step needs to be skipped when the value of a property is equal to any value in the value group on the other page.


The error message is

The result is in RULE-OBJ-WHEN AZD-FW-AKTIONSPORTALFW-WORK-TEST TESTANYPAGE #20150430T132741.900 GMT: cannot be null. Details: Invalid value for aDirectory passed to PropertyReference.getTopPage(ClipboardPage, PageDirectory, ClipboardPage)

We are using Pega 6.3 SP1

Do I have a misunderstanding of the "Any" feature of in the when rule? I believ it is the @basclass anyEntrySatisfiesCondition Function Alias which references the entrySatisfiesCondition Function rule.

Thank You

***Updated by moderator: Marissa to close post***

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Moderation Team has archived post
Share this page LinkedIn