4.2.4.9. Message record Gateway In
This gateway exports periodically your message records (Messages details from the Monitoring). The export is in CSV, and is exactly the same format that you would have by exporting your messages manually in the interface.
The period with the messages to export. |
|
If selected the period will be applied from the end time of the message, rather than the beginning time (when it reached Babelway system). |
|
In addition to the time criteria, this setting allows you to define additional criteria to filter the messages to export. |
|
The list of gateways for which you want the processed messages. |
|
The list of channels for which you want the processed messages. |
|
Cron expression. Allows you to define complex time expressions like every weekday night at 23:00 (0 0 23 ? * MON-FRI *) and the time zone for the polling. If left empty, the export will be scheduled automatically based on your period criteria. For easy creation of your cron expression, you can use the online cron maker tool available at: http://www.cronmaker.com/. |
Note: In the "General" page for this Gateway In you can see the "Poll now" button. When clicking on this button this will poll all of the messages immediately (and will not wait for the next defined moment).
This Gateway In is used to get the Message records from your environment and then for example the channel which has this Gateway In will send to your system a custom statistics every 7 days, The below example show how this is done.
1-Create a Gateway In of type Message Record then set the Cron expression to scheduled every 7 days.
2-For example the Message Out is of type XML that will contain custom statistics structure, In the transformation map all of the field from the "Message In" to the "Message out" to achieve the required information.
3-Every seven days the channel will send a custom statistics XML file to your system, Below is a sample for the generated XML file.
Message Record Output
Note:
- If there is a file name provided in the "Message In" or "Message Out" which contain ~ tilde character, All browser based on Chromium will replace the ~ tilde character by the _ underscore character when you try to download the file from the Babelway interface, For more details you can check this link https://bugs.chromium.org/p/chromium/issues/detail?id=479419
- The maximum file size accepted by this gateway is 100 MB.