Response Map
This map is isolated to the current message as it processes through a channel. Unlike the channel map, this one is specifically used for storing Response objects. When a destination finishes processing, its Response will automatically be stored in the response map. Subsequent destinations and the Postprocessor Script will have access to these values. The source connector can also use values stored in the response map to send responses back to the originating system (set in the Source Settings) .
- Get response map value:
- var value = responseMap.get('key');
- var value = $r('key');
- Put response map value:
- responseMap.put('key', 'value');
- $r('key', 'value');