Getting started Community Training Tutorials Documentation APIs, AI & Tools
Change the Target Output of a Transformation
Change the Target Output of a Transformation
You're viewing an older version of the documentation. You can switch to the latest version or use the version selector in the left navigation.
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.
Click Edit Current Target above the DataWeave code editor.

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.