IScheduledTaskProperties.DynamicMailListMacro

Syntax

DynamicMailListMacro: String;

Description

The DynamicMailListMacro property determines macro name which will create a dynamic list of recipients to send notifications about task completion.

Comments

It is required to specify the macro with the following signature as the property value:

Function <name>(<param>: IScheduledTask): IArrayList;

The macro should be implemented in the Fore unit/form/assembly, which is determined in the IScheduledTaskProperties.DynamicMailListModule property. The IArrayList dynamic array should be initialized in the macro code and according to a proper algorithm to add required recipients into it. The array can include the following values:

The MailTargetType property must be specified in settings if the repository users are added to the collection.

Example

The example of use is given in the description of the IScheduledTaskProperties.UseDynamicMailList property.

See also:

IScheduledTaskProperties