Controlling e-mail

Details how various collaboration objects enable a Role_Email collaboration object to alert users of item status or if errors occur during processing. It also describes how to specify message text, subjects, and recipients in external files to eliminate updating individual collaboration objects each time one of these variables changes. Specifying changing individual or multiple message recipients and how to use substitution variables in message and subject text is also covered.

Related topics

ItemValidation, ItemCollector, ItemDispatcher, and Process_Reviewed_Item collaboration objects can be configured to initiate sending e-mail to alert recipients of item status or when processing errors occur. These collaboration objects link to a Role_Email collaboration object, which actually controls sending the e-mail.

The Role_Email collaboration object allows the contents of the Retail_Item attributes that specify e-mail message text, subject text, and recipients to contain the names of files. These files contain the actual e-mail message text, subject text, and addresses, and can be easily modified without modifying the using collaboration objects. This feature permits messages, subjects, and recipients to be shared among multiple collaboration objects. Also, more than one recipient can be specified to receive e-mail through use of a comma-delimited list. Plus, e-mail message and subject text can be constants that contain variables. The Role_Email collaboration object substitutes data from the processing state or business object into these variables dynamically.

Parent topic: Solution Development Guide