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

Converting to a date format in Mule using DataWeave

My requirement is to convert a string to a date format using DataWeave in Mule Input string 8/30/2015 4:00:13 PM Output date …

mule dataweave
How to filter an array of JSON in Mule DataWeave

I am having a JSON like this : { "dcsId": "1184001100000000517", "marketCode": "US", "languageCode": "en-US", "profile": { "base": { "username": "arunima27", "activeInd": "R", "phone": [ { "activeInd": "…

mule dataweave
How to ignore empty objects in DataWeave Mule esb

I am working on transforming my payload. I have got the situation here. Input payload looks like this below one:…

mule mule-studio mule-component mule-el dataweave
How to replace special character using regex in Mule Dataweave transformation?

Suppose I have an XML file of details of employee such as id, name and address and now I want …

java mule mule-studio anypoint-studio dataweave
Dynamic Key Value Pair in DataWeave

DataWeave doesn't like what I'm trying to do with it, and I'm not sure if I'm doing something wrong, or …

mule dataweave
Split string in dataweave

I have a string like "Hi I am from "Kazan, Russia". The output should be Hi I am from Kazan, …

mule dataweave
Length Validation in Dataweave

How to do length validation in Mule Dataweave %dw 1.0 %output application/xml --- (payload default []) map { Field1:$.Field11, Field2:$.Field22, …

mule mule-studio mule-component mule-el dataweave
Dataweave Error: You called the function 'Value Selector' with these arguments when converting Excel to JSON

I am using Anypoint 7 and Mule 4.1. I want to read an Excel (xlsx) file from a folder on my computer …

mule anypoint-studio dataweave
Mule: Is it possible to use DataWeave to set flowVars

I am creating a flow that is issuing twitter search request, looping through each tweet, and pushing to a target …

mule dataweave
Mule Dataweave format :number

I'm having an issue trying to parse a string to double this would be a sample code, it's returning an …

mule anypoint-studio dataweave