You are here: Job and Form Set Rules Reference > JDT Rules Reference > IfRecipUsed

IfRecipUsed

Use this form set level rule to place a form set in a recipient batch if the recipient name matches the one you specify with this rule. For instance, if the form is triggered and the recipients are set to receive a copy of those sections, a copy of the sections that make up the form are copied to the specified batches.

Syntax

;IfRecipUsed;;;

There are no parameters for this rule.

Example

;IfRecipUsed;;BATCH1=INSURED;

If the recipient name placed in the data area (such as INSURED) is used in this form set, the system assigns this form set to the recipient batch named in the data area (such as BATCH1).

You can place multiple AssignToBatch rules in the AFGJOB.JDT file. All that return true will be placed in the appropriate recipient batch. You can assign several recipients to a single batch. This is useful if the recipients receive very few forms or you only want to manage a small number of batch files.

You must place this rule in the AFGJOB.JDT file before the BuildFormList rule.

     
Note Powertyping takes precedence over all AssignToBatch assignments, and errors take precedence over powertyping.

See also