Skip to Scheduled Dates
Course Overview
Discover how to build complex data transformations in Anypoint Platform with DataWeave. In this 2-day instructor-led course, learn how to write simple, reusable transformations using variables, functions, and DataWeave modules, and how to customize complex data structures, including nested arrays, objects, and arrays of objects.
Who Should Attend
- This course is designed for MuleSoft developers or architects who are responsible for building complex data transformations in Anypoint Platform with DataWeave.
Course Objectives
- Write simple, reusable transformations using variables, functions, and DataWeave modules.
- Use the DataWeave Playground to write and test DataWeave code.
- Build complex transformations from smaller, testable steps.
- Configure robust and testable functions and expressions with strong typing, match operators, error handling, and logging.
- Customize complex data structures, including nested arrays, objects, and arrays of objects.
- Format or replace nested schema elements.
- Calculate key performance indicators (KPI) in order to reduce arrays to other data structures or data types.
Course Outline
1. DataWeave Fundamentals
- Review Dataweave Fundamentals
- Apply Dataweave Two Argument Functions Using Infix Notation
- Group Array and Object Elements
- Retype Dataweave Expressions During Code Execution
2. Reusable Dataweave Code
- Organize Dataweave Code into Variables and Functions
- Enclose Variables and Functions in Do Statement Scopes
- Pass Functions and Lambda Expressions
- Create Reusable Dataweave Modules
3. Defensive and Robust Dataweave
- Write Defensive Dataweave Expressions
- Use Match Operator to Write Robust Functions
- Handle Errors
- Log from Inside Dataweave Expressions
4. Arrays and Objects
- Manage Array and Object Elements
- Configure Objects from Dataweave Expression Lists
- Troubleshoot Common Object Constructor Curly Braces Issues
5. Array and Object Mapping
- Combine Objects and Arrays into Nested Data Structures
- Extract an Array of Keys or Values from an Object
- Use Dataweave Core Arrays Module Functions
- Merge Two Nested Schema Using the Join Function
6. Nested Data Structures
- Update Nested Data Structures
- Mask Data Structure Parts
- Transform Nested Data Structures with Recursive Functions
7. Array Data
- Test Array Elements
- Reduce Array Elements to Other Output Types
- Calculate KPIs from Input Collections