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

InvalidParameterException occurs and WO function incorrectly

SA-84386

Summary



InvalidParameterException occurs and the work objects function incorrectly.


Error Messages



Caused by: 

com.pega.pegarules.pub.clipboard.InvalidParameterException: property .pyRequestParams was expected to have a List or Page mode, but attributes are @Z:J?N:. Details: Invalid value for aAttr passed to com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.adopt(String, String, char, StorageStream, List) 
at com.pega.pegarules.data.internal.clipboard.ClipboardPropertyImpl.adopt(ClipboardPropertyImpl.java:4584) 
at com.pega.pegarules.data.internal.clipboard.DirectStreamContainerV7.expandToProperty(DirectStreamContainerV7.java:746)



Steps to Reproduce



Unknown


Root Cause



An issue in the custom application code or rules.
The pyRequestParams  are in each flow of the work objects; however, the client did not respond.


Resolution



Here’s the explanation for the reported behavior:

In the Create case activity, a call is made to a SOAP Service. When the SOAP call is invoked, the Java objects from the Parameter page (pyRequestParams) are copied to local variables. However, the Java objects are not removed from the Parameter page.

The Process Engine copies all the parameters to the pyFlowParameters. This is process that is used to add the properties to each of the pyFlowParameters page.

When the SOAP service is unavailable, due to the upgrade and certificate issues, the existing cases are updated. As result, work objects are saved with old or corrupt pyRequestParams.

To avoid this, add a step to the activity that invokes the SOAP Connector to remove the values from the Parameter page right after invoking the Connect-SOAP method.

Suggest Edit

Published March 19, 2020 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

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