Anypoint Platform Development: DataWeave 2.0 (Mule 4)

Anypoint Platform Development: DataWeave 2.0 (Mule 4)

Summary

Note: The Mule 3 / DataWeave 1.0 version of the course can be found here.

This instructor-led course is for developers interested in advancing their DataWeave 2.0 skills beyond those taught in the Anypoint Platform Development - Fundamentals (Mule 4) course or the self-study MuleSoft.U Development Fundamentals (Mule 4) course.

A downloadable datasheet for the course can be found here.

Duration

2 days in-person or online

2 Days

Objectives

At the end of this course, students should be able to:

  • Write generalized and reusable transformations using variables, functions, DataWeave modules and mappings, and dynamic evaluation components.
  • Build up complex transformations from smaller testable steps.
  • Build more robust and testable functions and expressions using strong typing, match operators, error handling, and logging.
  • Create, transform, filter, combine, shuffle, select from, and reduce complex data structures that include nested arrays, objects, and arrays of objects.
  • Recursively replace or format every element or a list of elements in a nested schema.

Audience

Mule 4 developers or architects who want to advance their DataWeave 2.0 skills so that they can build complex transformations

Prerequisites

Setup Requirements

  • A computer with at least 8-16 GB available RAM (16 highly recommended), 2GHz CPU, and 10GB available storage
  • Internet access to port 80 (with > 5Mbps download and > 2Mbps upload)
  • OpenJDK 8 (NOT 11 or a later version)
  • Anypoint Studio 7 with embedded Mule 4.2 runtime
  • Advanced REST Client (or some other REST client application)

A detailed setup document can be found here.

Additional Notes

2 days in-person or online

Outline


  • Apply DataWeave fundamentals as learned in the Development Fundamentals course
  • Configure metadata for DataWeave transformation input and output
  • Set example input for DataWeave transformations
  • Organize DataWeave code into variables and functions
  • Pass functions and lambda expressions as parameters to other DataWeave functions
  • Chain DataWeave functions together
  • Create and use reusable DataWeave modules
  • Write more robust functions using the match operator to test for data types
  • Add components to and remove elements from arrays and objects
  • Construct objects from lists of DataWeave expressions using object constructor curly braces { }
  • Troubleshoot common issues when using object constructor curly braces { }
  • Transform elements of arrays into a new array using the map operator
  • Transform elements of objects into a new object using the mapObject operator
  • Combine map and mapObject operators to transform complex schema
  • Extract an array of keys and/or values from an object using the pluck operator
  • Reduce and accumulate array elements to other output types using the reduce operator
  • Write recursive functions to transform complex schema
  • Replace keys or values at any level of a nested data structure using a lookup object

Upcoming Classes

No classes have been scheduled, but you can always Request a Quote.

Online instructor-led training

2 days   
Intermediate
No training scheduled in next 3 months

Classroom training

2 days   
Intermediate
No training scheduled in next 3 months

Onsite Training

Request your own private training session. For groups of 6 or more.

Request Quote

Private training

  • Need training for more than 6 students?
  • Want training onsite at your office?
  • Want a private online instructor-led class?

Public Training

Anypoint Platform Development: DataWeave 2.0 (Mule 4) Ratings

Averaged from 496 responses.

Training Organized
Training Objectives
Training Expectations
Training Curriculum
Training Labs
Training Overall

What do these ratings mean?

Join a Meetup near you!

  • Get more out of your training
  • Network with other MuleSoft developers
  • Grow your skills
  • Get recognized in the community

Find your group