2020.2

Table Of Contents
Items" on page635 task is set to output Records in JSON, it outputs this kind of JSON
data.
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.
The Render Email Content task expects UTF-8 encoded JSON job data files.
Note
Make sure that other components in the Workflow configuration working on the job data
handle UTF-8 encoded files correctly.
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, the task generates an HTML email using that record's or
object's data.
Note
Content creation may be aborted by a script in a Connect template that raises a fatal
error. This triggers the On Error tab of the Content Creation task. See Designer Script
API.
Note
During processing non-fatal errors may occur. Non-fatal errors are errors related to one
record that will not stop the processing of all records. For example, when the recipients
email address in a record is invalid, that record produces a non-fatal error; subsequent
records will still be processed.
The number of log messages for any non-fatal errors is limited to 100.
Page 632