Cloud Software Group, Inc. EBX®
Insight Add-on Documentation > User Guide
Navigation modeInsight Add-on Documentation > User Guide

Sending results by email

Overview

The indicator results can be sent by email either manually from the reporting UI or automatically when a watchdog is raised:

The reporting UI includes a pop-up menu Operation that allows one to create an email with the indicator results to be sent to the owners of the related D.E.C.

The email is made of a header of data results and a text that is configured (refer to the table Email template).

A template can be enriched by pre-defined variables to include for example: ${table} (current table's label in execution time), ${field} (current field's label in execution time), ${workflow} (current workflow's label in execution time). The add-on is provided with some email templates by type of D.E.C.

/send_email_1.png

The full list of predefined variables is as follows:

Watchdog indicator results and correlated watchdog indicator results are sent automatically when they are raised.

/send_email_2.png

Like indicator results, you can also define templates for watchdog results in table Email template of domain Watchdog with the following variables:

Other variables related to indicator results can also be included:

The configuration email in ebx.properties is as follows:

#USING GMAIL and TLS

ebx.mail.activate=true

ebx.mail.polling.interval=1

ebx.mail.smtp.starttls.enable=true

ebx.mail.smtp.starttls.required=true

ebx.mail.smtp.host=smtp.gmail.com

ebx.mail.smtp.port=587

ebx.mail.smtp.login=example@gmail.com

ebx.mail.smtp.password=*****

#USING GMAIL and SSL

ebx.mail.activate=true

ebx.mail.polling.interval=1

ebx.mail.smtp.ssl.activate=true

ebx.mail.smtp.ssl.provider=com.sun.net.ssl.internal.ssl.Provider

ebx.mail.smtp.ssl.factory=javax.net.ssl.SSLSocketFactory

ebx.mail.smtp.host=smtp.gmail.com

ebx.mail.smtp.port=465

ebx.mail.smtp.login=example@gmail.com

ebx.mail.smtp.password=*****

The Base URI property in the configuration table is mandatory to use the two predefined variables: ${link.table} and ${link.record}.

Enabling email of indicator results

To enable emailing of indicator results:

  1. Register the desired email address with EBX® under Administration > Users, roles and preferences > Directory.

    /send_email_3.png

  2. Navigate to Administration > Data quality and analytics > TIBCO EBX® Insight Add-on > Indicators > Reference data and create a new record in the Configuration table.

  3. Specify the sender and what the base URI path will be. The path is used to build the required links.

    /send_email_4.png

  4. Register the email recipient as an owner of the related D.E.C. using the D.E.C.'s Owner field.

    /send_email_5.png

    The option to email a recipient is available after executing or querying indicators:

    /send_email_6.png

  5. Optionally, users can be added to a subscription list to receive automatic emails when indicator watchdogs are raised.

    /send_email_7.png