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

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

  1. Create an investigation case
  2. Create any correspondence by selecting a verification template. This ensures verification of the correspondence
  3. Click Reject and submit the correspondence. This proceeds to acknowledgement of cancellation
  4. Click on acknowledgement of cancellation assignment

Root Cause

A defect or configuration issue in the operating environment.


Resolution

Perform the following local-change:
  1. 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
  2. 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

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?

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