---
schema_version: "1"
id: c7afdca7a0e713989b01d67539389ec04cbcf5c6242d25c3ddf06fd7fd9865b1
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/4.3/transform-change-target-output-transformation-studio-task.md
canonical_url: https://docs.mulesoft.com/mule-runtime/4.3/transform-change-target-output-transformation-studio-task
source_site: docs.mulesoft.com
content_type: documentation
content_hash: a0663e54bc2d2e55ae712b21596f653ba361574627a5c5cef626776cd8b44141
description: MuleSoft Documentation Site
release: "4.3"
latest: false
---
---
product: Mule Runtime
version: 4.3
---

# 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.

    ![using dataweave in studio 47984](/mulesoft/current/en-us/mule-runtime/4.3/_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.

    ![new variable](/mulesoft/current/en-us/mule-runtime/4.3/_images/dw-new-variable.png)

## See Also

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

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

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

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