Back to Browse

Using the Transform Message component (DataWeave) in Anypoint Code Builder | #Codetober 2023 Day 26

911 views
Oct 26, 2023
10:25

We know how to define metadata in Anypoint Studio to see a preview of our DataWeave code to transform the data using the Transform Message component. But how to do this in Anypoint Code Builder (ACB)? In this video, we'll use a Transform Message component in a Mule project to transform an input into an expected output according to our "business requirements." Then, we learn how to create the payload.json input and how to run the script according to this JSON file. You can also use the Enable Autopreview button to get the same functionality from the DataWeave Playground! 🔗 Links: How to retrieve the number of years, months, or days between two dates in DataWeave 2.0: https://www.prostdev.com/post/how-to-retrieve-the-number-of-years-months-or-days-between-two-dates-in-dataweave-2-0 💡 TRY IT OUT GitHub repo: https://github.com/ProstDev/codetober23 📸 Photo by Joshua Woroniecki on Unsplash: https://unsplash.com/photos/lzh3hPtJz9c

Download

0 formats

No download links available.

Using the Transform Message component (DataWeave) in Anypoint Code Builder | #Codetober 2023 Day 26 | NatokHD