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

Existing changes deleted on checkout and check in of Corr rule

SA-68071

Summary



Previously defined settings in the Corr Fragment rules are deleted. The forEach tag is removed and moved to the top of the table tag.




Error Messages



Not Applicable


Steps to Reproduce

  1. Create a paragraph rule and include JSP tags.
                             


     
  2. Save and check in the  rule. Close and open the rule form.


     
  3. Check out the rule and toggle to the source. The changes do not display. Additionally, in the correspondence generated, the formatting does not display.


Root Cause



The Corr rule has a limitation and  does not process the forEach tag.


Resolution



As a local-change, use the below code:

<table>
    <tbody><%
ClipboardProperty property = tools.findPage("OperatorID").getProperty("pyWorkBasketList");
String WBName= "pyWorkBasketName";
Iterator itr = property.iterator();
while(itr.hasNext()){
ClipboardProperty prop = (ClipboardProperty)itr.next();
ClipboardPage page = prop.getPageValue();
 %>
        <tr>
            <td>Value 1: <%=page.getString(WBName)%></td>
        </tr>
        <%
}
%>
    </tbody>
</table>

Published January 9, 2019 - 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?

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