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

"A processing error has occurred" while creating a Work Object

SA-29178

Summary



While creating a work object, If there is an error on the pyWorkPage, Pega will render the @baseclass.GeneralFail harness.

This harness has an non auto generated OOTB section that presents the below instead of displaying the actual page message

A processing error has occurred
Object key
Error Message <%= StringUtils.decodeCrossOSString(Param.pyErrorMessage); %>
Stack Trace


Error Messages



A processing error has occurred
Object key
Error Message <%= StringUtils.decodeCrossOSString(Param.pyErrorMessage); %>

 


Steps to Reproduce

  1. Create NewDefaults activity in an work class
  2. Set a message on pyWorkPage
  3. Create the work page (Skip new harness)


Root Cause



The HTML of the GenralFailDetails section has a syntax error in the following line :-

<td class='{param.valueStyle}' >{ StringUtils.decodeCrossOSString(Param.pyErrorMessage); }</td> , which is problematic. 
It is rectified to the below :-

{java} tools.appendString(StringUtils.decodeCrossOSString(tools.getParamValue("pyErrorMessage"))); {/java} 

Resolution



Apply HFix-29970

 

Published October 24, 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.

Did you find this content helpful?

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