Online Dataweave Debugging

Online Dataweave Debugging   MuleSoft has provided an online Dataweave debugging platform where developers can go and test the Dataweave. We don’t need Anypoint Studio debugging mode to test the Dataweave. https://dwlang.fun It has mainly three section Input Explorer – we can add the input payload against which we want to test the Dataweave Script…

Share this:
Read More

XML processing or parsing

XML processing or parsing   XML processing or parsing in Dataweave become somewhat tricky as it depend on the input type of the XML Two type of XML input request we can get Include NameSpace   No Namespace   Processing of both somewhat get differ in dataweave Let’s start with Namespace first For the namespace…

Share this:
Read More

Dataweave Tips & Guidelines

Dataweave Tips & Guidelines   Dataweave Tips & Guidelines – Here are few tips and best practices which could be useful to consider while writing dataweave. There are plenty of operators in dataweave which can make your life easy while writing complex dataweave transformation. Obviously the list below is not an exhaustive list, but we…

Share this:
Read More

Reduce Function

Reduce Function   Reduce function is used to do any computation while iterating on an array, computation result is not lost while iteration. it’s a very helpful function where you have to do computation on some array element. reduce(Array<T>, (item: T, accumulator: T) -> T): T | Null or Array<T> reduce( (item: T, accumulator: T)…

Share this:
Read More