---
schema_version: "1"
id: c34851b8b9a93a248a85b98276ddb8447e816b693ca42ec4de78bf7c80220981
title: Change the Target Output of a Transformation (Anypoint Studio)
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/mule-runtime/latest/transform-change-target-output-transformation-studio-task.md
canonical_url: https://docs.mulesoft.com/mule-runtime/latest/transform-change-target-output-transformation-studio-task
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 1dd3834b39072804cf68c40275dbdf8aa2f2d73f121f73f8f6de7dccacd02d00
description: MuleSoft Documentation Site
release: "4.13"
latest: true
---
---
product: Mule Runtime
version: 4.13
is-latest-version: true
---

# Change the Target Output of a Transformation (Anypoint Studio)

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

By default, the Transform Message component outputs to the message payload. You can change this
target, so that the result of your transformation populates another part of the output such as a
property or variable.

1.  Click **Edit Current Target** above the DataWeave code editor.

    ![Edit icon](/mulesoft/current/en-us/mule-runtime/latest/_images/using-dataweave-in-studio-47984.png)

2.  Specify where in the output Mule message to place the result of your DataWeave transform. In
    case you’re creating a new variable or property, you must also set a name for it.

    ![An output with an option to choose a source code](/mulesoft/current/en-us/mule-runtime/latest/_images/dw-new-variable.png)

## See Also

[Transform Message Component](https://docs.mulesoft.com/mule-runtime/latest/transform-component-about)

[Add Another Output to the Transform Message Component](https://docs.mulesoft.com/mule-runtime/latest/transform-add-another-output-transform-studio-task)

[Mule Message Structure](https://docs.mulesoft.com/mule-runtime/latest/about-mule-message)

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