8.8

Table Of Contents
If the input is JSON, the task performs a REST call to the
/rest/serverengine/workflow/contentcreation/email/{templateId}} endpoint on the
Connect Server. For more information see the REST API Cookbook.
Processing
This task loops through each record in a Record Set or through each JSON object in an array.
For each record or JSON object, an HTMLEmail is generated using that record's or object's
data. The output generated is then sent via an SMTPserver with the email address set by the
template.
Output
Within the Workflow process, the output to this task is only modified metadata indicating that the
task is complete. It is the Server component that outputs the emails themselves and sends them
to each recipient.
Properties
General Tab
l Template
l "%o":Select to use a dynamic template name. Click on %o to change the
expression that determines the name of the template to use.
l Template Names:Select the appropriate template. Adding template is done
through the Send to Workflow option in the Designer Module.
l Section:Enter the section name that will generate output. Only one section can be
output. If no section is defined or if the section name is invalid, the default section will be
output.
l
Data Source (see "Input" on the previous page):
l
Metadata:
l
Update Records from Metadata: If the process metadata has been modified
by any of the "Metadata Tasks" on page509, check this option to update the
records in the Connect database with the metadata and use the updated
records. Otherwise, only the IDof the current job is sent, and the unchanged
records are used.
Page 563