Sending an Email at the end of a Synchronisation on success or failure

Once you have automated your Simego DS3 projects you often want to be notified if they fail due to changes in the environment

Once you have automated your Simego DS3 projects you often want to be notified if they fail due to changes in the environment (network connectivity, changes in schema etc.) or that they have just run.

If you are using the 'Run Tool' for automation you will have to configure an additional step at the end of your project.

If you are not using the 'Run Tool' to automate your project but are just using a command line technique, you should consider with using it or using the Simego DS3 Server.

To create a run tool project from inside DS3:

If the DS3 project is not saved, save it.

From the Tool menu, choose the 'Open in Run Tool' option. You should see your DS3 Project listed as the first step in the 'Run Tool' project.

Run Tool

In the 'Tools' menu choose 'Options', you will see the Options screen for configuring a SMTP server used to send email. The settings used here are for Office365 : http://office.microsoft.com/en-us/outlook-help/settings-for-pop-and-imap-access-for-office-365-for-business-or-microsoft-exchange-accounts-ha102908389.aspx

SMTP Server Settings

Now click the 'Insert' button on the command bar, and choose the 'Send Email Step'.

Send Email Step

This adds a new 'Send Email' Step to the list of steps in the project.

Steps

To configure the email to be sent on failure we need to changes some of the configuration settings:

From This list who the email should be sent from. For ease of management leaving this as the user you used in the SMTP setup is preferable

HTML Body This setting indicates whether the 'Message' value should be interpreted as HTML and the email sent as HTML formatted.

Message This is the content of the email, in some cases it is a good idea to have a description of why the message as sent.

Name This is just the name of the step in the Run Tool project.

Subject This value is used as the subject in the email.

To This value is the email address to send the email message to.

Run Condition This value is used to decide when the email should be sent.

Success : The email is sent when the previous steps where successful

Failure : The email is sent when the previous steps failed.

Any : The email will be sent even if there we previous failed or successful steps.

Run the project by clicking on the 'Run' button on the task Bar.

Each step should go green.

Runs OK

If you have any problems or need more details look at the 'Log' tab.

Log Tab


Can't find the answers you're looking for? Contact our support team and we'll personally get back to you as quickly as we can.