Sometimes, you want to skip a record mapping when running a message. You can use conditions to indicate if the record mapping must be applied. The record mapping is only applied if the conditions are met. You can set up several conditions for each record mapping.
1. | Click Connectivity studio Integration Design. |
2. | On the Message tab, in the list, find and select the desired message. |
3. | Click Edit. |
4. | In the Mapping section, in the Target record list, find and select the desired record. |
5. | In the Condition field, select 'Yes'. |
6. | Click the Mapping Condition tab. |
7. | Define if the condition is based on a field in the source document or the target document. |
  | In the Record origin field, select an option. |
8. | Define the document record of the field on which the condition is based. |
  | In the Record field, enter or select a value. |
9. | Define the document record field on which the condition is based. |
  | In the Record field field, enter or select a value. |
10. | Define the condition value. |
  | In the Value field, type a value. |
11. | Sub-task: Set additional conditions. |
11.1 | Usually, you use only one condition which is defined in the fields above the grid. You can, however, define additional conditions. Enter the additional conditions in the grid. |
  | Click New. |
11.2 | Define if the condition is based on a field in the source document or the target document. |
  | In the Record origin field, select an option. |
11.3 | Define the document record of the field on which the condition is based. |
  | In the Record field, enter or select a value. |
11.4 | Define the document record field on which the condition is based. |
  | In the Record field field, enter or select a value. |
11.5 | Define the condition value. |
  | In the Value field, type a value. |
12. | Close the page. |
Applying conditions can influence the message performance. So, only apply a condition if required and keep it as simple as possible.