Make decisions with conditional statements

The purpose of DML expressions is to make the integration engine behave in a certain way. The most primitive set of expressions act exactly the same way each time they are run, performing the same mapping of data.

Such primitive expressions might work fine when dealing with outputs that closely resemble inputs. On the other hand many mappings need to process complex and versatile data and modify their behavior based on the variations of data they receive, in which case primitive expressions are less useful.

In such situations, each time you supply the integration engine with different data, the set of expressions you entered might result in a different output. To determine how to give your expressions the capability to make decisions and therefore behave differently, you must use conditional statements.

Related topics

Use Boolean expressions

Connections with Boolean operators

Test conditions with ‘if-then-else’

Advanced testing with ‘switch’

Test for the existence of a node

FoodBroker project: Extra charge for VISA payments

Related Links