Skip to content

Viewing The Message Store

You can use the ThinkAutomation Studio or a to view the Message Store. Messages are added to the Message Store as they are received by the Message Sources. Click the Message Store tab on the ThinkAutomation Studio ribbon.

Messages are viewed by Solution - to change the currently selected Solution - click the Solution drop down menu on the Ribbon.

All Automations within the Solution will be shown. Select an Automation to view processed messages.

Messages are shown in pages of 1000 messages per page. Use the Page < and > selectors to move pages or press PgUp/PgDn buttons.

Search And Filter

You can search for text using the Search bar. Messages will be searched by subject, from/to address, attachment names and automation return value. You can use space to search for multiple terms (eg: sales order would return only items containing 'sales' AND 'order'). If a search term itself contains a space character then you should enclose it in double quotes.

By default the search will search the from/to address, subject, attachment names and automation return value. If you want the search to include keywords from the message body text, you need to enable the Extract And Save Unique Keywords For Messages Added In This Solution option on the Solution Properties - Keywords tab.

Click the Filter button to apply additional filters.

You can filter messages by Processed status. Select All, Success Only or Failed Only. The Failed Only filter will only show messages where the Automation generated one or more errors. You can view the last Automation error by hovering over the red (!) icon in the first column of the messages grid. You can also view errors by opening the message and viewing the Automation log.

You can also filter messages by Message Flag. Messages can be assigned a Flag value inside an Automation using the Set Message Store Flag action. You define the Flags using the Server Settings - Message Store Flags option. You can also manually set a flag for a message by right-clicking the message in the list and selecting Set Flag.

You can filter by Date. Enter a From and To date and click the Apply button.

You can also filter the current view by clicking the filter icon in the message column headers.

Viewing Message Detail And Logs

Double click a message or click the Open button to view the full message body, attachments, headers and the Automation Log for the message. Once the message preview pane is open it will refresh as you select other messages in the grid. You can drag the preview pane outside of the ThinkAutomation Studio. You can then edit an Automation with a previously processed message open. This is useful if you need to view the automation log of a processed message whilst editing the Automation.

Folders

Processed Messages can be organized into folders. Each Automation has a root folder. Below each Automation you can create sub-folders (with multip). To create sub-folders, right-click a folder and select Create Sub Folder. To delete a folder, right-click a folder and select Delete. All messages in the folder (and its sub-folders) will also be deleted.

You can move existing processed messages into any sub-folder. Select a message (or range of messages), right-click and select the Move To menu option.

Processed messages can be assigned to a folder during Automation processing using the Set Message Store Folder action.

Reprocessing Messages

Individual messages can be reprocessed. Select a message (or range of messages) and click the Reprocess button. The selected messages will be added back to the process queue and processed again by the Automation.

Deleting Messages

You can remove individual messages from the Message Store or you can remove all messages for the selected Automation/folder.

Viewing Outgoing Messages

If you use the Send Email action to send scheduled emails on future dates then these scheduled messages are held in the Outbox until they are sent. The Outbox can be viewed by clicking the Outbox button on the Message Store view. You can remove items from the Outbox to prevent them from being sent.

Viewing Sent Items

Any outgoing emails sent using the Send Email action will be shown in the Sent Items view. You can disable outgoing emails being stored using the Automation - Properties - Save Outgoing Emails To Sent Items option.

Web Based Message Store Viewer

You can also view the Message Store using a web browser. The Web Message Store Viewer is enabled on a per-solution basis. From the Solution properties page, select the Web Message Store Viewer tab. Enable the Enable Web Based Message Store Viewer option.

Enable the Enable Access Via Public URL option if you want to allow access via Web API Gateway public URL. This will work from any location.

Enable the Require Login option if users must login with a valid ThinkAutomation Username/Password before viewing messages.

The Public URL box shows the URL for the public interface.

The Local URL box shows the local URL. This will work locally and on your local network (replace 'localhost' with the IP/DNS name of your ThinkAutomation server computer).

By default the web view will show a menu containing all Automations in the Solution. The user can select an Automation to view processed messages. If the Show Automations Menu option is disabled, then all messages for the solution will be shown.

Messages can be searched by entering any search text and clicking the search button. Enable the Show From And To Date Selectors if you want to include from/to dates on the search form.

Messages are shown in pages. The user can click the Previous and Next buttons to change pages. You can adjust the number of messages shown per page using the Messages Per Page entry.

When viewing messages - click the Envelope icon to view the full message detail.

Customizing The Default Layout

You can customize the HTML template used for the Message Store Viewer by editing the messagestoreviewtemplate.html and messagestoreviewtemplatelogin.html files in the Program Files\ThinkAutomation folder. These should be saved as messagestoreviewtemplate_custom.html and messagestoreviewtemplatelogin_custom.html. The custom ones will be loaded first if they exist. The default files will be overwritten during any ThinkAutomation updates, so ensure you save with '_custom' appended to the filenames.

Ensure not to remove any <!--Comment--> lines or %placeholder% variables. You will need to restart the ThinkAutomation Service after making any changes.