Support Article
Error occurs when clicking an assignment
SA-50091
Summary
Error occurs when clicking an assignment.
Error Messages
Error - Open Authoring control failed to load.
Steps to Reproduce
- Create an investigation case
- Create any correspondence by selecting a verification template. This ensures verification of the correspondence
- Click Reject and submit the correspondence. This proceeds to acknowledgement of cancellation
- Click on acknowledgement of cancellation assignment
Root Cause
A defect or configuration issue in the operating environment.
Resolution
Perform the following local-change:- Remove the Open Authoring code in the 'RULE-OBJ-HTML PEGAAPP-WORK- AppCorrAckCancel' rule. From Pega-7.21 onwards, ActiveX controls are not used for Open-Authoring
- Change the code in 'AppCorrAckCancel' in PegaApp-Work class as below:
<script>
var EmailAddress = "<pega:reference name="Param.EmailAddress" />";
var CorrPartyRole = "<pega:reference name="Param.CorrPartyRole" />";
var CorrType = "<pega:reference name="Param.CorrType" />";
var CorrEdit = "<pega:reference name="Param.CorrEdit" />";
var CorrList = "<pega:reference name="Param.CorrList" />";
var optionalParams = "&EmailAddress=" + EmailAddress +
"&CorrPartyRole=" + CorrPartyRole +
"&CorrType=" + CorrType +
"&CorrEdit=" + CorrEdit +
"&CorrList=" + CorrList;
</script>
<TEXTAREA name="corrHandle" style=DISPLAY:none><%
tools.appendString(tools.findPage("pyCorrPage").getProperty(".pzInsKey").toString());
%></TEXTAREA>
<TEXTAREA name="corrZippedBody" style=DISPLAY:none><%
ClipboardPage corrZippedPage = tools.findPage("pyCorrPage");
tools.appendString(corrZippedPage.getProperty(".pyBodyZippedEncoded").toString());
%></TEXTAREA>
<TEXTAREA name="corrWordName" style=DISPLAY:none><%
ClipboardPage corrWordName = tools.findPage("pyCorrPage");
tools.appendString(corrWordName.getProperty(".pyWordFileName").toString());
%></TEXTAREA>
<TEXTAREA name="corrBody" style=DISPLAY:none><%
ClipboardPage corrPage = tools.findPage("pyCorrPage");
tools.appendString(corrPage.getProperty(".pyBody").toString());
%></TEXTAREA>
<TABLE border=0 cellpadding=1 cellspacing=1 width=95% >
<TR><TD>
<%
ClipboardPage pyCorrPage = null;
String editMessages = "";
editMessages = tools.findPage("pyCorrPage").getString("pyUserEdit");
//include HTML Stream for Review only
tools.appendString("<!-- review section -->");
StringMap keys1 = new HashStringMap();
keys1.putString("pyStreamName","AppCorrIncludeRejected");
tools.appendString(tools.getStream(keys1,null));
StringMap keys2 = new HashStringMap();
keys2.putString("pyStreamName","AppCorrIncludeReview");
tools.appendString(tools.getStream(keys2,null));
tools.appendString("<script>loadMe();</script>");
%>
</TD></TR></TABLE>
Published March 30, 2018 - 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.