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
- Create NewDefaults activity in an work class
- Set a message on pyWorkPage
- 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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.