Understanding Module Mapping

Module mapping in a scenario involves connecting data between various modules (applications) within your scenario. This process ensures data is transferred from one module to another, achieving the desired automation.

Detailed Guide to Module Mapping

1. Identifying Input and Output Data

a) Selecting Applications

First, choose the applications you will be working with and determine what data your module will receive (input data) and what data it will provide to other modules (output data).

b) Sources of Input Data

Input data can come from previous modules in the scenario, external sources, or user input.

2. Defining Mapping Fields

a) Identifying Fields

In the module you want to map, identify the fields that will be mapped (e.g., name, email, phone number).

b) Determining Data Sources

For each field, specify the source from which the data will originate (i.e., from which module or data point the data will come).

3. Using the Mapping Editor

a) Configuring the Module

Open the module you want to configure in the scenario.

b) Accessing the Mapping Editor

Use the mapping editor to view the list of available input data.

c) Dragging and Dropping Data

Drag the required data into the appropriate fields. For instance, if you want to map the “Name” field from one module to another, simply drag the “Name” data point into the corresponding field in the target module.

4. Modifying Data Before Mapping (Optional)

a) Data Modification and Transformation

If you need to modify or transform data before mapping it, use the functions available in the mapping editor (e.g., text formatting, mathematical operations, conditions).

b) Example Functions

You can use functions like CONCAT() to combine two text fields or IF() to perform conditional logic. Detailed instructions on using these functions can be found here.

5. Validation and Testing

a) Test Run

After setting up the mapping, perform a test run of the scenario to verify that data is correctly transferred between modules.

b) Check Output Data

Review the output data of each module to ensure that it is correctly mapped and that no data is missing or incorrectly placed.

6. Debugging and Adjustments

a) Addressing Errors

If errors or discrepancies occur, return to the mapping editor and adjust the settings as needed.

b) Adding Debugging Modules

Consider adding additional modules for debugging, such as logging or notification modules, to help monitor the data flow.

c) Using Error Handlers

Incorporate special error handlers to catch and manage any errors that arise. More information on error handling can be found here.