JobMode 52 – FIS export status

Parameter Value

Source File

<Docs>/*/result-*.xml

Output

e-mail

Configuration Parameters

<ColdDocsDirectory>

<ProtEmailRecipients>

<ProtEmailSubject>

<ProtEmailText>

<ProtInputFile>

<SplittingChar>

Table 184: Protocol: JobMode 52 – FIS export status

This JobMode sends a status e-mail after an export in ImageMaster 9.

The JobMode searches the docs directory for files with the naming pattern “result-*.xml”, which are created by a FIS export job, and it determines the complete number of exported files with an error list. The result is sent via an e-mail based on the template <ProtEmailText>. The template can use variables from the input CSV file <ProtInputFile>. The following placeholders can also be used in the template:

  • [ENTER]: line break

  • {COUNT}: number of successfully exported files

  • {ERROR}: number and list of errors that occurred

Example configuration:

JobMode_Protocol = 52
SplittingChar = #
# The CSV file from which the variables {n} are read:
ProtInputFile = <ColdSpoolBaseDirectory>/<SpoolType>/<SpoolType.Generation>/index.csv

# The e-mail body text with placeholders. {4} is the fourth column in the above CSV file
ProtEmailText = The requested audit export with number {4}: is now ready. Exported {COUNT} documents. [ENTER]You can retrieve it from /data/exports/<SpoolType.Generation>.tar.gz [ENTER][ENTER]{ERROR}

# Read the recipient mail address from the CSV file and send to an additional address
ProtEmailRecipients = {9} service@t-systems.com

ProtEmailSubject = Status ImageMaster legal audit export