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

SortFormSet

Use this new form set level rule to sort the list of triggered or imported forms to reflect the order defined in the FORM.DAT or BDF/GRP files. Using this rule, the order defined in the import file does not matter because this rule sets the correct order based on the forms list.

This rule typically runs after the SetRecip triggers are processed and any imports are completed, but you can place it after any rule that creates or alters the included forms, such as import rules, trigger rules, or some combination thereof.

The forms are sorted within the current transaction's Key1/Key2 combination and into the order they appear in their respective tools — the Form Set Manager for FORM.DAT files and the Unit Manager of Documaker Studio for BDF/GRP files.

Syntax

;SortFormSet;;;

The rule has one parameter when using FORM.DAT processing. The parameter is the name of the FORM.DAT file if it differs from that stored in the INI files. When using BDF/GRP files, there are no parameters.

Example

<Base Form Set Rules>

;SortFormset;;(form.dat);

Note If you use an import method that creates a form that is not defined in your current master forms list, that form will sort down to the bottom within the line of business (GROUP2).