Close popover

Table of Contents

How to create correspondence fragment rules

Use correspondence fragment rules to hold re-usable content that contains code or logic – for example, references to other rules, iterations through lists, conditional statements, and so on. Correspondence fragments are categorized by correspondence type, but they have no Applies to class and are, therefore, available to any correspondence rule. For more information about fragments, see the Correspondence Fragment and Correspondence Rules section in "Overview of the Correspondence Feature."

Suggested Approach

To create correspondence fragment rules, complete the following steps:

  1. From the Rules by Type explorer, select Process > Correspondence Fragment.
  2. From the list, click New.
  3. In the New dialog box, enter a name in the Stream field, select the appropriate correspondence type, and specify the appropriate RuleSet and version.
  4. Click Create.
  5. On the Stream tab of the rule, enter the appropriate text, HTML formatting, and logic. For example: 

    For information about typical JSP tags used in correspondence, see the Common JSP tags for correspondence section in "Correspondence Reference." For information about the entire pega tag library, see the Application Developer Help.

    Note: Be sure to use HTML character entities for special characters — & for ampersand, for example. Also, do not copy and paste text from Word documents unless you have limited the text to an ASCII font like FixedSys.
  6. At the bottom of the tab, specify whether extra spaces should be removed from the generated results at runtime.
  7. In the Generate For field, select JSP.
  8. Optional. If any of the JSP tags you entered included references to a named page, identify the pages and their classes on the Pages and Classes tab.
  9. On the History tab, enter a description in the Usage and Full Description fields.
  10. Click Save.
Pega Platform 7.1.1 - 8.3.1 Business Architect System Architect Case Management
Suggest Edit

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.