2021.2

Table Of Contents
Input
This task must receive either Metadata containing information regarding a valid Record Set, or
JSON data.
Metadata
The "Execute Data Mapping" on page628 task and the "Retrieve Items" on page646 task
output Metadata containing information regarding a Record Set.
Note
The plugin takes the entire Metadata file as its input, even when it is placed after a
"Metadata Sequencer" on page571 task.
JSON
The Render Email Content task supports two types of JSON:
l A JSON object or an array of JSON objects representing records. If a value in a record
object is a string, it is considered to be a field value. If a value in a record object is a
JSON object, it is considered to be a nested table with detail records. For examples, see
"JSON string examples" on page92.
l A JSON Record Data List (see the REST API Cookbook and "JSON Record Data List
example" on page93). When the "Execute Data Mapping" on page628 or "Retrieve
Items" on page646 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.
Page 642