This handler creates a process instance report and attaches it to the process instance. This allows it to be sent, for example, with the ATTACH-command in a mail node. Alternatively, the handler can save the report in the file system.
The path for saving the report and the file name can be given as process variables instead of as parameters: report_path and report_file_name From Version 3.7 on, the new instance report is issued. Prior to this, only the file name, the path, and the decision as to if the report should be attached to the instance are evaluated. The other variables do not have any effect.
com.dooris.bpm.actionhandler.GenerateReportActionHandler
any
any
none
There are no mandatory fields. If no parameter is stipulated, the report will be distributed as a pdf with all parts in German.
This gives the format for the distributed report. The default is a pdf. If an Excel-file should be generated, xls should be entered here.
The possible languages are: de,en,fr,nl and es. (for German, English, French, Dutch, and Spanish, respectively)
The default value is true. If the activity listing should not be included in the report, then false must be entered here.
The default value is true. If the activity notes should not be incorporated into the report, then false must be entered here.
The default value is true. If the instance notes should not be incorporated into the report, then false must be entered here.
The default value is true. If the process variables should not be incorporated into the report, then false must be entered here.
The default value is true. If the process graphics should not be incorporated into the report, then false must be entered here.
addToInstance is set to false by default. If set as true (or if no file path is provided), the report will be attached to the instance.
The default value is true. It is used to display first and last name in the report. If it is set to false, the username is displayed.
Name of the report file. This also applies to the document attached to the instance.
File names may be named after variables with ${VariableName}.
Path to the location of the report. This should end with “/”.
The path may be given using a variable ${VariableName} .
reportFileName=report.pdf;
reportPath=C:\Report;\ ⇒ The report will be saved under C:\Report with the name report.pdf and will not be attached to the instance.
reportFileName=report.pdf;
reportPath=C:\Report;\ addToInstance=true;
⇒ The report is saved under C:/Report with the name report.pdf and attached to the instance.
No parameter
⇒ The report is attached to the instance with the standard name, i.e. tim_report_16_12_2015_08-07_pireport.pdf.