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

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

  1. Upgrade Pega Platform 7.3.1 to Pega Platform 8.2.1.
  2. Create an activity.
  3. In a step, select the Property-Set method.
  4. 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:
  1. Replace @java("myStepPage") step with a Java method.
  2. Add the below Java code:

    tools.getParameterPage().putObject("pyOperPage", myStepPage);

Published August 15, 2019 - Updated December 2, 2021

Was this useful?

100% 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