AWS RDS 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 AWS RDS for data mapping while making API calls. These attributes can be mapped to the specific attributes of AWS RDS.
This capability not only allows field mapping but it also allows complex transformation using Excel-style functions to apply hundreds of formulas and operations. The feature of Excel-style functions makes data mapping on Connect iPaaS a breeze for business users who are already well versed with Microsoft Excel formulas.
Example Scenario with ServiceNow Trigger¶
In Figure 1 below, whenever a new incident is created in ServiceNow, a new record is created in the AWS RDS selected database. In this example, we have selected MySQL as the chosen database engine. The database has a table named Incident which stores the Category, Opened by, and Short Description of the incident in respective columns. Here the columns are mapped to attributes from ServiceNow.
In the time_of_incident column, the current date and time can be added using the excel function Now().
The column incident_state is an enum data type column in the MySQL database. You can either type in the value of the incident_state or you can map the value of this field using the evaluate functionality to the Incident State attribute from ServiceNow as shown in Figure 1.