During a message run, you can use mapping variables to store values. You can write (calculated) values to a mapping variable, and later during the message run, read the value from the mapping variable. You can use mapping variables across records.
The mapping variable values are only stored during the message run. When the message run is finished, the mapping variable values are deleted.
During a message run, to:
1. | Click Connectivity studio Integration Design. |
2. | On the Message tab, in the list, find and select the desired message. |
3. | Click Edit. |
4. | On the Action Pane, click Design. |
5. | Click Mapping variable. |
6. | Click New. |
7. | In the Name field, type a value. |
8. | Define the data type of the value that is stored in the mapping variable. Only these types are supported: - String - Integer - Real - Date - Enum - UtcDateTime - Int64 |
  | In the Data type field, select an option. |
9. | Close the page. |
10. | If you have created mapping variables for a message, on the Message (details) page, on the Field mapping tab, these fields are added: - Target variable - Variable |
  | To show the mapping variable fields, refresh the page. |
You can use mapping variables instead of calculations.