Part II: Correspondence > Paragraph Selection Rules > Creating a Paragraph Selection Rule

Paragraph Selection Rules

Paragraph Selection rules tell XTRAC what paragraph to insert into correspondence.

You can insert paragraphs into correspondence using paragraph inserts. The paragraph inserts display as markers in the text of the correspondence. The marker indicates the name of the paragraph to be inserted. When XTRAC generates the correspondence, it replaces paragraph insert codes with the contents of the referenced paragraph templates.

Paragraphs can also be conditionally inserted into correspondence based on the value of one custom field. If a paragraph insertion is based on more than one field, you can associate a paragraph template with a paragraph type. Paragraph types let you categorize or group paragraph templates. For example, you can have a paragraph type of opening paragraph templates that groups all of the opening paragraph templates that you create.

After you insert the paragraph type marker into the correspondence, XTRAC evaluates the paragraph selection rules that are associated with the paragraph type to determine which paragraph to insert.

For example, if you create a paragraph type to group all of the opening paragraph templates, you can set up the following paragraph selection rules to determine which paragraph to insert:

Creating a Paragraph Selection Rule

Note: To define a paragraph selection rule, you need the Create and Paragraph Selection Rule security functions as part of the security group that is associated with your entitlement set.

To define a paragraph selection rule

  1. In Feature Explorer, click Correspondence or Rules.
  2. Click Paragraph Selection Rules.
  3. In the Paragraph Selection Rule Summary window, in the Paragraph Type drop-down list box, select the paragraph type.

XTRAC lists any paragraph selection rules that are already defined for the paragraph type.

  1. Click New.

In the Paragraph Selection Rule Detail window, XTRAC selects the PS Paragraph Selection event.

  1. In the Description field, enter a description (up to 60 characters).
  2. Build the rule condition by selecting the applicable fields, criteria, and values.

See Building a Rule Condition

The criteria that is available depends on the data type of the selected field.

  1. Click the Action tab.
  2. In the Paragraph Template Name drop-down list box, select the paragraph template.

Only the paragraph templates that are associated with the selected paragraph type are listed.

  1. (Optional) In the Change Request ID field, enter the change request ID (up to 30 characters).
  2. (Optional) In the Memo field, enter the reason for creating the rule (up to 60 characters).
  3. Click Save.

XTRAC saves the paragraph selection rule and lists it in the Paragraph Selection Rule Summary window at the bottom of the sequence list.

Copyright © 2011-2014 XTRAC, LLC. All rights reserved.