Discussion
Pegasystems Inc.
JP
Last activity: 20 Apr 2023 21:18 EDT
Declare Expression rule instances not visible in Dev Studio
Hi,
Our customer reported that declare expression rule instances are not found in Dev Studio, shown as below. In this post, I will share a quick workaround to fix this issue.
- Root cause
The root cause is that pyMethodStatus property is not exposed in rules.pr4_rule_declare_expression table. This issue is reproducible only when your environment does not have UDF installed. When you view rule instances list, Report Definition pyInstanceList in Rule- class is executed and throws an error since UDF PR_READ_FROM_STREAM can't be used. If you perform upgrade, UDF may be still present from old installation and the issue may not be found. But if you newly set up the latest version, you may face this issue as starting with 8.8, UDF is not installed by default.
- Workaround
The issue will be fixed in the future release, possibly Infinity '23. In the meantime, here is a quick workaround. In your operator preferences, enable Diagnostics as below. This is not system-wide settings, but at least Declare Expression rule instances will become visible per developer.
Hope this helps.
Thanks,