Loading...
Throughout the Message Processing Lifecycle, your channels and messages have access to various maps. Depending on the scope, the map may only be available in the current channel/connector, or may be globally available across your entire system. These variable maps allow you to store a piece of information that can be used later (in a downstream channel, connector, or somewhere else). A common use for these variables is to provide easy drag-and-drop for connector properties. The Destination Mappings list will display all available connector/channel map variables for example. They are also used in other ways, such as populating Custom Metadata Columns.
The following variable maps exist throughout Mirth® Connect:
Name | JavaScript Variable | Get/Put Shortcut Variable |
---|---|---|
Response Map | responseMap | $r |
Connector Map | connectorMap | $co |
Channel Map | channelMap | $c |
Source Map | sourceMap | $s |
Global Channel Map | globalChannelMap | $gc |
Global Map | globalMap | $g |
Configuration Map | configurationMap | $cfg |
The table above also shows the precedence of these maps when referencing them in Velocity or when using the generic lookup function. For additional information, see The Variable Map Lookup Sequence.