Message mapping provides you with a great deal of flexibility when assigning values from input sources to output targets. In the most basic form of mapping, field-to-field assignments are made directly between messages. Through the Compose Expression editor, extra value can be added to further define the mapping conditions as appropriate.
Mapping provides a very simple way to transform data from a source to a target value, but the exact mapping options available are not the same for all node types.
Target assignments can be calculated or combined from various input sources, which can be in the form of messages or database tables as with many-to-one or many-to-many mapping. Target assignments can also be conditional, based upon a combination of deciding factors, which can be applied to any type of mapping.
Before trying to add a message as an input or output, define and import into the workspace a message set with the appropriate messages. Correspondingly, database tables must be imported into the workspace.
A Mapping node automatically generates an ESQL module that creates an output message (if necessary), and then calls the mapping procedure. The mapping procedure has, as its parameters, references to the element complex types of the global message element. The complex type itself does not have to be global or named. It can be a local anonymous type.
Mapping supports reuse through ESQL functions, and mappings can also call user-defined ESQL routines. Mappings are not reusable with other mappings.
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
ar00860_ |