---
title: "#dataweave articles | Hashnode"
description: "Explore 9 articles tagged #dataweave on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/dataweave"
---

Tag

# #dataweave

9 posts · 0 followers

[SapotaCorp](https://hashnode.com/@sapotacorpvn) · [Jul 12](https://hashnode.com/posts/mulesoft-fundamentals-the-mule-event-and-why-everything-is-a-flow/6a53c765759e8326f9c68e0a)

### [MuleSoft fundamentals: the Mule event and why everything is a flow](https://sapotacorpvn.hashnode.dev/mulesoft-fundamentals-the-mule-event-and-why-everything-is-a-flow?utm_source=hashnode&utm_medium=feed)

If you come to MuleSoft from Spring Boot, the first thing that trips you up isn't DataWeave or connectors — it's that every piece of data moving through your integration is a single object called the Mule event, and every unit of logic is a

8 min read · [sapotacorpvn.hashnode.dev](https://sapotacorpvn.hashnode.dev/mulesoft-fundamentals-the-mule-event-and-why-everything-is-a-flow?utm_source=hashnode&utm_medium=feed)

[SapotaCorp](https://hashnode.com/@sapotacorpvn) · [Jul 12](https://hashnode.com/posts/dataweave-in-depth-reduce-groupby-functions-and-modules/6a53c5c6f5a026f4d1283c8c)

### [DataWeave in depth: reduce, groupBy, functions, and modules](https://sapotacorpvn.hashnode.dev/dataweave-in-depth-reduce-groupby-functions-and-modules?utm_source=hashnode&utm_medium=feed)

Most DataWeave goes wrong not in map and filter but in the harder territory: aggregating with reduce, grouping at scale, and extracting reusable logic into functions and modules. Drawing on a banking-integration project that synced account

9 min read · [sapotacorpvn.hashnode.dev](https://sapotacorpvn.hashnode.dev/dataweave-in-depth-reduce-groupby-functions-and-modules?utm_source=hashnode&utm_medium=feed)

[SapotaCorp](https://hashnode.com/@sapotacorpvn) · [Jul 12](https://hashnode.com/posts/dataweave-across-formats-json-xml-csv-and-java/6a53c5737370acb71859aca5)

### [DataWeave across formats: JSON, XML, CSV, and Java](https://sapotacorpvn.hashnode.dev/dataweave-across-formats-json-xml-csv-and-java?utm_source=hashnode&utm_medium=feed)

A single integration flow at a financial-services client touched JSON, XML, and CSV before the data ever landed. Here is what production taught me about driving DataWeave across all four formats it supports — namespaces, attributes, type co

8 min read · [sapotacorpvn.hashnode.dev](https://sapotacorpvn.hashnode.dev/dataweave-across-formats-json-xml-csv-and-java?utm_source=hashnode&utm_medium=feed)

[SapotaCorp](https://hashnode.com/@sapotacorpvn) · [Jul 12](https://hashnode.com/posts/flows-subflows-and-private-flows-orchestration-in-mule-4/6a53c73702e946222123ed26)

### [Flows, subflows, and private flows: orchestration in Mule 4](https://sapotacorpvn.hashnode.dev/flows-subflows-and-private-flows-orchestration-in-mule-4?utm_source=hashnode&utm_medium=feed)

Mule 4 gives you three constructs that all look like "flows" but behave very differently: public flows, subflows, and private flows. Getting the choice wrong is how you end up with vanishing variables, swallowed audit logs, and a whole API

8 min read · [sapotacorpvn.hashnode.dev](https://sapotacorpvn.hashnode.dev/flows-subflows-and-private-flows-orchestration-in-mule-4?utm_source=hashnode&utm_medium=feed)

[SapotaCorp](https://hashnode.com/@sapotacorpvn) · [Jul 12](https://hashnode.com/posts/migrating-from-mule-3-to-mule-4-what-actually-changes/6a53c71902e946222123be96)

### [Migrating from Mule 3 to Mule 4: what actually changes](https://sapotacorpvn.hashnode.dev/migrating-from-mule-3-to-mule-4-what-actually-changes?utm_source=hashnode&utm_medium=feed)

A Mule 3 to Mule 4 migration is not an upgrade you click through; it is a code rewrite disguised as a version bump. Drawing on a 30-app migration for a banking client, this piece walks through what the rewritten runtime actually changes, wh

8 min read · [sapotacorpvn.hashnode.dev](https://sapotacorpvn.hashnode.dev/migrating-from-mule-3-to-mule-4-what-actually-changes?utm_source=hashnode&utm_medium=feed)

[SapotaCorp](https://hashnode.com/@sapotacorpvn) · [Jul 12](https://hashnode.com/posts/dataweave-fundamentals-header-body-and-your-first-real-transform/6a53c622214f45b317ed9da7)

### [DataWeave fundamentals: header, body, and your first real transform](https://sapotacorpvn.hashnode.dev/dataweave-fundamentals-header-body-and-your-first-real-transform?utm_source=hashnode&utm_medium=feed)

A core-banking system speaks XML over a message queue; the mobile team wants clean JSON. DataWeave is the layer that does the translating, and most of the pain comes from misunderstanding three things: where the header ends, why type coerci

8 min read · [sapotacorpvn.hashnode.dev](https://sapotacorpvn.hashnode.dev/dataweave-fundamentals-header-body-and-your-first-real-transform?utm_source=hashnode&utm_medium=feed)

[SapotaCorp](https://hashnode.com/@sapotacorpvn) · [Jul 12](https://hashnode.com/posts/dataweave-patterns-and-performance-transforms-that-scale/6a53c52041361a4465e6c951)

### [DataWeave patterns and performance: transforms that scale](https://sapotacorpvn.hashnode.dev/dataweave-patterns-and-performance-transforms-that-scale?utm_source=hashnode&utm_medium=feed)

A Customer 360 API that joins three banking back-ends looks trivial in a demo and falls over in production. The difference is rarely syntax — it's the handful of DataWeave patterns that decide whether your transform runs in milliseconds or

8 min read · [sapotacorpvn.hashnode.dev](https://sapotacorpvn.hashnode.dev/dataweave-patterns-and-performance-transforms-that-scale?utm_source=hashnode&utm_medium=feed)

[SapotaCorp](https://hashnode.com/@sapotacorpvn) · [Jul 12](https://hashnode.com/posts/choice-router-in-mule-conditional-routing-that-stays-readable/6a53c419e37fcdda9aa1a4e6)

### [Choice router in Mule: conditional routing that stays readable](https://sapotacorpvn.hashnode.dev/choice-router-in-mule-conditional-routing-that-stays-readable?utm_source=hashnode&utm_medium=feed)

A single customer-360 endpoint that fans out to three different banking backends sounds trivial until the data fights back. Here's how the Choice router actually behaves in Mule 4, the null-safety and ordering traps that turn a clean route

8 min read · [sapotacorpvn.hashnode.dev](https://sapotacorpvn.hashnode.dev/choice-router-in-mule-conditional-routing-that-stays-readable?utm_source=hashnode&utm_medium=feed)

[SapotaCorp](https://hashnode.com/@sapotacorpvn) · [Jul 12](https://hashnode.com/posts/scatter-gather-and-async-in-mule-parallel-calls-done-right/6a5384f48228e8d3a4d3e740)

### [Scatter-Gather and async in Mule: parallel calls done right](https://sapotacorpvn.hashnode.dev/scatter-gather-and-async-in-mule-parallel-calls-done-right?utm_source=hashnode&utm_medium=feed)

A mobile banking "Customer 360" screen has to pull data from five independent backends, and calling them one after another takes four seconds — long enough to lose the user. Here's how Scatter-Gather, Parallel For Each, and Async actually b

8 min read · [sapotacorpvn.hashnode.dev](https://sapotacorpvn.hashnode.dev/scatter-gather-and-async-in-mule-parallel-calls-done-right?utm_source=hashnode&utm_medium=feed)

[SapotaCorp](https://hashnode.com/@sapotacorpvn) · [Jul 12](https://hashnode.com/posts/for-each-vs-batch-processing-collections-at-the-right-scale/6a538410e395f563b4db7cc6)

### [For-Each vs Batch: processing collections at the right scale](https://sapotacorpvn.hashnode.dev/for-each-vs-batch-processing-collections-at-the-right-scale?utm_source=hashnode&utm_medium=feed)

A nightly file from a bank's core-banking system started as a thousand transactions and grew into millions. The same For Each scope that handled it fine in testing fell over in production. This is the practitioner's guide to choosing betwee

9 min read · [sapotacorpvn.hashnode.dev](https://sapotacorpvn.hashnode.dev/for-each-vs-batch-processing-collections-at-the-right-scale?utm_source=hashnode&utm_medium=feed)
