Pre-requisites Upsert Operation in Salesforce Steps: 1.To begin, a new Mule project needs to be created. Then, a file component should be dragged and dropped into the project for the On New or Updated File. Configure the directory, set the matcher to edit inline, and specify the filename as name_of_file.csv. to trigger the flow. 2.Following […]
Pre-requisites Salesforce: We need to have Salesforce developer account. Create a Salesforce custom object with some fields, as per the requirement. Click on Create in the home section, which is on the right-hand side. Then click on custom object, then fill in the name of the custom object. Then click on fields and relationship, then […]
Introduction What is MUnit? MUnit is a Mule application testing framework that allows you to easily build automated tests for your integrations and APIs. Why use MUnit? It provides a full suite of integration and unit test capabilities and is fully integrated with Maven and Surefire for integration with your continuous deployment environment. With MUnit […]
Objective: We are going to write test cases for the scenarios where the flow is going to throw errors. The application we are going to test is Database configuration Query Database Postman Request and response Error handler “transform messages” DB:CONNECTIVITY MULE:ANY Step 1: Select the flow you want to test (“lookup-based-on-customer-name”) then right-click on […]
Overview: – What is DataWeave: – Why do we need to externalize: – How to externalize: – Steps:
Google Sheet Module (MuleSoft) Prerequisites: We need to have an active Google account and we need to make use of Google APIs to leverage the Google Sheet module provided by MuleSoft. To do so we need to follow the following steps: First we need to go to the Google API console using the URL https://console.cloud.google.com/apis/library. […]
Parse Template is the Mule component to use for processing a template and obtaining a result. A template is defined as text with embedded Mule expressions that are evaluated and replaced with their result. There are some scenarios where we need to use a parse template in the flow. Some of the scenarios are: When […]
Prerequisites: We need to have an active mail account. For this scenario, we are using Gmail. In Gmail, we need to set up the application password for further use in the connector to connect with Gmail. To do so we need to follow the following steps: We need to log in to the respective Gmail […]