Top "Dataweave" questions

The DataWeave Language is a powerful template engine that allows you to transform data to and from any kind of format (XML, CSV, JSON, Pojos, Maps, etc).

How to check for empty array inside a payload ?

I am trying to have a choice condition where i will run a flow depending if array is empty. Example : …

mule mule-component dataweave mule-esb
Transform list of objects into csv using dataweave

I am trying to transform a list of objects to csv using the following code in dataweave: %dw 1.0 %type company = :…

mule dataweave
How to build a multiple IF conditional in Mule 4 and DW 2.0?

I need to create a function with conditions like this pseudo-code: var consent = [] function buildConsent() { if (condition1) { consent += values1 } if (…

mule anypoint-studio dataweave mule4
Mule (Dataweave) transform JSON array to string

This is probably simple, but everything I find in a search is only vaguely related to my question. I have …

json mule dataweave