Failed to reference single page property in RUF method
Referencing a single-page property in a Rule-Utility-Function parameter of Clipboard page type generated Java, which created a clipboard property at run time, resulting in a classcast exception. When the primary page is a single page, like pyWorkPage method, it works fine. When the primary page is like pyWorkPage.ABC, system throws Classcast exception on runtime and does not pick the activity.
** Java Exception: java.lang.ClassCastException: com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl incompatible with
Steps to Reproduce
Use @Utilities.pxExecuteAnActivity (Primary,"ActivityName") function as an expression in a rule.
All type conversions for the broken expression are skipped because VFORM_PEGA_PAGE_REFERENCE (in one of the Java classes) returns false from isValueLikeOrParam().
Published September 14, 2016 - 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.