How to be a matchmaker using DataWeave and regular expressions

In this blog, we’ll look at how a regular expression (regex) can give you the power to transform text in your DataWeave programming. When you need to select, replace, remove, or transform text, you can define a regex pattern to define what you want to match, and perhaps one that defines what you’d like to provide as a substitute.

How to review concatenation functions in DataWeave 2.0

Contrary to what most developers believe, there are different ways to achieve concatenation in DataWeave 2.0 for several data types. While the most popular function to achieve this is by using the plus plus (++) function, it is not the only way to concatenate data types. Before taking the Anypoint Platform Development: DataWeave (Mule 4) training, I used the ++ (plus plus) function to concatenate data types like arrays, strings,

4 ways to externalize MuleSoft logs to the Elastic Stack

The former Netflix Architect Allen Wang posted back in 2015 on SlideShare: “Netflix is a logging company that occasionally steams video.” 

Five years ago, Netflix was creating about 400 billion events per day in different event types. Today, organizations can’t afford for their applications to have slow performance or experience downtime. To prevent that, engineers must rely on the data generated by their applications and infrastructure.

How to untie multilevel structures with DataWeave recursive calls

August 10 2020

0 comments

It’s rare for developers to work with flat data structures — instead we often work with multilevel data structures. Normally, XML uses multiple layers of hierarchy. We need to perform changes on all the levels, without knowing how deep into the hierarchy we need to process the entire structure.

Developers typically use recursive calls to solve these types of problems. In this blog post, we will see how to implement simple recursive calls using DataWeave.

How to create reusable DataWeave scripts for healthcare acceleration

Tyler Haigh, DevOps Engineer at New South Wales Health Pathology (NSWHP), spoke at our MuleSoft CONNECT Digital event in APAC. He has more than four years of experience using Anypoint Platform. Recently, his projects focused on creating reusable DataWeave scripts for healthcare acceleration at NSWHP. In this blog, he shares how he uses DataWeave and MUnit testing to improve NSWHP healthcare messaging systems and patient experience. 

How to write curried functions in DataWeave

One of the most valuable characteristics of DataWeave is that it is a functional programming language. This means it is dynamically able to solve problems with various approaches — one being currying, which is a common feature of functional programming languages like Haskel (from where it derives), and JavaScript. 

In this post, I’ll explain what currying is and how to write curried functions in DataWeave.

How to enable monitoring for application stability

For the last few decades, application and operational teams have been preaching loudly about monitoring and alerting capabilities to improve system resiliency. It is only with COVID-19, however, that these capabilities have shifted from “luxury” items to “absolutely necessary” capabilities to ensure business continuity.

As businesses take the next steps to refine their monitoring and alerting capabilities, it is critical that all stakeholders understand and utilize the same frameworks and metrics.

How to break data silos: an example using Salesforce and Procore

Delivering rich and consistent experiences to stakeholders and customers is one of the objectives of digital transformation. Data provides context and enables business processes to create powerful experiences. As SaaS applications proliferate within the enterprise IT landscape it inadvertently results in data silos slowing transformation initiatives. According to MuleSoft’s 2020 Connectivity benchmark report, 89% of IT leaders say data silos are an obstacle to digital transformation. 

Installing Runtime Fabric on a local PC

Anypoint Runtime Fabric is a container service that automates the deployment and orchestration of Mule applications and API gateways. Runtime Fabric runs within a customer-managed infrastructure on Amazon Web Services (AWS), Microsoft Azure, virtual machines (VMs), and bare-metal servers.

5 steps to externalize mapping using Salesforce custom objects

The need for an externalizing mapping definition comes up often in integration projects. It must be managed and maintained outside the Mule application code and for Mule to retrieve it dynamically.

In this example, I have leveraged one of the templates from Anypoint Exchange – Database to Salesforce User Migration. We will use the mapping definition from Salesforce custom object to map the database user information to a Salesforce user.