Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

When rule using ANY [entry][relation][value] on other Page fails

SA-9927

Summary



Using the ANY [entry][relation][value] in a WHEN rule causes an exception when the referenced Page- or Value List/Group is on a named page.

Error Messages



cannot be null. Details: Invalid value for aDirectory passed to PropertyReference.getTopPage(ClipboardPage, PageDirectory, ClipboardPage)

Steps to Reproduce



Configure a When rule to reference a property on a page directly, and use this in an activity. For example:



Root Cause



This is an expected behaviour. The When rule should be generic and should not reference a page directly​.

Resolution



Use best practice configuration. Set the context in which to run the When rule in the activity Step Page.
For example:



 

Published June 1, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us