Render Data

The Render Data activity takes an input of a data schema and renders it as a text string. The schema processed is based on a specified Data Format shared resource.

General

You can use this activity in various scenarios, for example, retrieving a result set from a database table. You may want to:

  • Format this result set as a formatted text string (with line breaks between each row in the result set), and then write that text string out to a file.
  • Use the Render Data activity to render the data schema as a formatted text string.
  • Use the Write File activity to write the string to a file.

The General tab has the following fields.

Field Module Property Description
Name No The name to be displayed as the label for the activity in the process.
Data Format No The Data Format shared resource to use when rendering the text output.

Input

The following is the input for the activity.

Input Item Datatype Description
Rows complex The element containing the list of items to render.
root complex The complex element containing data schema (specified by the Data Format shared resource) to render as a text string. This is a repeating element which renders more than one output record.

Output

The following is the output of the activity.

Output Item Datatype Description
Text string The output text string as a result of rendering the specified data schema. Line breaks separate records of the data schema.

Fault

The Fault tab lists the possible exceptions generated by this activity. For more information about error codes and the corrective actions to take, see the TIBCO BusinessWorks™ Container Edition Error Codes guide.

Fault Generated When..
BadDataFormatException The output format is not valid.