MongoDB Data Mapping¶
Data Mapping and Transformation is one of the powerful features of Connect iPaaS. When you create a workflow certain attributes of your trigger application are available to the action application for data mapping while making API calls. These attributes can be mapped to the specific attributes of the action application.
This powerful capability not only allows field mapping but it also allows complex transformation using Excel-style functions to apply hundreds of formulas and operations. The choice of excel style function makes data mapping on Connect iPaaS a breeze for business users who are already well versed with Microsoft Excel formulas.
Example Scenario with MongoDB Trigger¶
In the example workflow, shown below, MongoDB is the trigger application. You can access the following attributes of MongoDB event in any of the application actions while designing your workflow.
- Event Time - Date and Time when the event happened.
As shown in the Figure above, we are mapping parameter from MongoDB "Document Created" trigger to the ServiceNow (Privileged) Action of creating a new incident. We can create the short description of the ServiceNow incident based on the data attributes of the MongoDB Trigger. In this example, short description of the incident is constructed as a text string using text and the attributes of MongoDB event "Event Time".