Comment on page
Goobi Step Plugin for sending emails within a task.
This documentation describes the installation, configuration and use of the Step Plugin for sending emails within a task in Goobi workflow. The list of recipients and the text can be configured individually for different steps. All fields from the VariableReplacer are also available. This means that metadata or information on the task, step or project can also be accessed.
The plugin is usually executed fully automatically within the workflow. It first determines whether there is a block in the configuration file that has been configured for the current workflow with regard to the project name and work step. If this is the case, the mail is generated and sent to the configured recipients.
This plugin is integrated into the workflow in such a way that it is executed automatically. Manual interaction with the plugin is not necessary. For use within a workflow step, it should be configured as shown in the screenshot below.
Integration of the plugin into the workflow
The plugin consists in total of the following files to be installed:
The first file must be installed in the following directory:
In addition, there is a configuration file that must be located in the following place:
The configuration of the plugin is done via the configuration file
plugin_intranda_step_sendMail.xmland can be adjusted during operation. The following is an example configuration file:
<?xml version="1.0" encoding="UTF-8"?>
order of configuration is:
1.) project name and step name matches
2.) step name matches and project is *
3.) project name matches and step name is *
4.) project name and step name are *
<!-- which projects to use for (can be more then one, otherwise use *) -->
<!-- mail account -->
<!-- server configuration -->
<!-- displayed sender address -->
<!-- receiver, can be repeated -->
<!-- message -->
<messageBody>body <br /> <h1>with html</h1></messageBody>