Contact Us 1-800-596-4880

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

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 the Edit Current Target button A gray pencil icon above the DataWeave code editor.

  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.

    A dialog box with fields for selecting a variable name and source code location