Anypoint Platform Development: DataWeave 2.0 (Mule 4)

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.

 2 days in-person

 2 days online

Intermediate

Objectives

Pre-requisites

Outline

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.

Note: If you have not taken one of these courses or passed the exam, you will be contacted to confirm your qualifications.

  • Module 1: Transforming data using metadata

    • Apply DataWeave fundamentals as learned in the Development Fundamentals course
    • Configure metadata for DataWeave transformation input and output
    • Set example input for DataWeave transformations
  • Module 2: Organising DataWeave code with variables and functions

    • 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
  • Module 3: Constructing arrays and objects

    • 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 { }
  • Module 4: Iteratively transforming data using mapping operators

    • 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
  • Module 5: Recursively transforming complex structures

    • Write recursive functions to transform complex schema
    • Replace keys or values at any level of a nested data structure using a lookup object

We're a London-based MuleSoft certified training partner.

You'll learn from some of the best trainers in the industry. The training will be tailored to your needs and budget. We can arrange training for your employees (groups for up to 12 people) whenever it suits you. We'll even adapt the standard courses according to your requirement.


Not the course you were looking for? We have a range of courses to suit everyone.


Browse all courses