Support Article
Unable to select activities when they contain @java method
SA-82335
Summary
Post Pega Platform 8.2.1 upgrade, unable to select activities when they contain a @java method.
Error Messages
.pySteps(23).pyParamArray(1).PropertiesValue—
The usage of @java in expressions is no longer supported. Consider replacing @java with utility functions or other product features.
Steps to Reproduce
- Upgrade Pega Platform 7.3.1 to Pega Platform 8.2.1.
- Create an activity.
- In a step, select the Property-Set method.
- In the source column, add @java().
Root Cause
Pega Platform 8.2.1 does not support the @java syntax. The @java command in expressions was deprecated in Pega Platform 7.3.1.
Resolution
Perform the following local-change:
- Replace @java("myStepPage") step with a Java method.
- Add the below Java code:
tools.getParameterPage().putObject("pyOperPage", myStepPage);
Published August 15, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.