Nav

To Add Another Output to the Transform Component (Design Center)

A single Transform component can give shape to several different parts of the output (example: the payload, a flow variable, a property). Each different output part must be defined in a separate DataWeave code, written out in a separate tab of the Transform pane. For example: if one tab defines the payload, and another an outbound property, these are both parts of the same output Mule message.

To add a new output:

  1. Click on the title of the output section, which should say Output Payload by default.

    add another output transform design center task e725d

  2. Select Add Transformation.

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

    add another output transform design center task 15036

Execution order of multiple outputs may vary. Ensure each transformation is independent of the order of execution and the other outputs.

In this topic: