DataWeave in Apex
In this part of this book, we have been reviewing the various ways in which we can integrate Salesforce with external environments and tools to deliver valuable solutions that cover a variety of use cases related to integrations.
One item we have not discussed, namely as it is not part of the Apex language, is where MuleSoft fits into this structure. Simply put, from a Salesforce developer’s perspective, everything we have discussed and reviewed so far remains in place, with MuleSoft acting as an integration platform. We can still utilize all the options we have discussed to connect with MuleSoft, depending on how endpoints within the API ecosystem are being exposed.
One particular MuleSoft feature we can take advantage of in Apex is the DataWeave language that is part of the MuleSoft platform. This chapter focuses on what DataWeave is and how we can utilize it within Apex to transform data. Let’s begin with an overview of the DataWeave language...