Composition Center configurations for Ad Hoc Correspondence > Applying rules to document definitions

Applying rules to document definitions
In Composition Center, StoryTeller Processes are used as templates. From one template, several document definitions can be created. In a batch scenario, rules determine which document definitions are included in an Ad Hoc document.
Note:
One document can contain several document definitions
When several document definitions are created from the same template, and the rules for more than one document definition are evaluated as true, the Ad Hoc document contains several document definitions.
For example, from a template called Letter, the document definitions WelcomeLetter and NovemberOffer are created. The WelcomeLetter document definition is set to be used when Customer=New. The NovemberOffer document definition is set to be used when date=11/01/2012-11/30/2012. If both these rules are true, the Ad Hoc document contains both document definitions.
Click to enlarge
Figure 9
An Ad Hoc document with two document definitions
Prerequisites for documents with several document definitions
In Design Center, output mode Job is used for the output connector.
In Composition Center, process type Batch and Ad Hoc is selected for the document definition.
To set rules for document definitions
For information on how to set rules on document definitions, see the StreamStudio Online Help for Composition Center.
 
OpenText StreamServe 5.6 Updated: 2013-03-01