---
schema_version: "1"
id: 899cc657e16a305f0ffd73a326e25460f635b8c1010fb3122edecf62b1e87641
title: Preview the Output of a Transformation (Design Center)
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/mule-runtime/latest/transform-preview-transformation-output-design-center-task.md
canonical_url: https://docs.mulesoft.com/mule-runtime/latest/transform-preview-transformation-output-design-center-task
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 1ecaa4929f0c066246aeab16938ff2f21f3adf77d82da60a75ef0c18214cf25f
description: MuleSoft Documentation Site
release: "4.13"
latest: true
---
---
product: Mule Runtime
version: 4.13
is-latest-version: true
---

# Preview the Output of a Transformation (Design Center)

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

You can provide sample input data to your Transform component to see how the transformation affects
it. You don’t need to run your application to use this feature. A sample output is updated in real
time as you make changes both to the sample input and the transformation.

1.  On the input pane, select one of the parts of the input (the Payload, Attributes or a specific
    Variable).

2.  At the bottom of the window, select the Edit Sample Data icon
    ![Edit icon](/mulesoft/current/en-us/mule-runtime/latest/_images/preview-transformation-output-design-center-1a65a.png).

3.  The Sample Data tab opens and is populated.

    - If you defined your Data Type through a sample, these same values are used.

    - If you defined your Data Type through a schema or it was automatically defined, values are
      populated with the string `????` as a placeholder.

      Note that when the input is of type POJO (Plain Old Java Object), samples must be written in
      DataWeave format. This is not a transformation in itself, just a way to express how data is
      structured.

Example data in DataWeave format:

\[ { message @(id: "FSD-483"): "Hello World!", date: |2017-05-06|, items: { item1: 434, item2:
"344222" } }, { message @(id: "DSF-829"): "This is what DataWeave format looks like.", date:
|2017-03-21|, items: { item1: 728, item2: "14422" } } \]

1.  Replace these placeholder values with different values.

    As you make changes in the sample data or the transformation, notice how the output preview
    changes.

    Note that if your transformer has multiple outputs (for example, to both the payload and a
    variable), the **Preview** pane displays the one corresponding to the currently selected
    transformation.

When the output is of type POJO (Plain Old Java Object), the preview is represented in JSON format.

1.  Test your transformation for any special characters or structures that might arrive, verify that
    the output is what you expected.

Note that samples defined in this pane work only within the **Transform** component. These samples
do not affect any other components in your application.

## See Also

[DataWeave Language](https://docs.mulesoft.com/mule-runtime/latest/dataweave)
