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

Difference In Hours filter function fails in scheduled reports



The 'Difference In Hours' filter function fails with an exception in the scheduled reports. The same report executes correctly in the background without the filter.

Error Messages

Attempting to access a rule with a bad defined-on class: Trying to open rule "PXCREATEDATETIME,@@PXCURRENTDATETIME" of class "Rule-Access-Property", but no defined-on class (pyClassName) was specified.

Steps to Reproduce

Schedule a report with the DifferenceInHours filter condition.

Root Cause

Step 10 in the pyExecuteTask activity did not handle the computed property gracefully. Therefore, the activity was stopped entirely.


Apply HFix-54443.

Published August 19, 2019 - Updated December 2, 2021

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