Send Email Notification of Data Extract through Post-Run Script

Send Email Notification of Data Extract through Post-Run Script

In this example, you will learn that how a user can be notified by email regarding status of scheduled data extraction process. This mechanism works with the help of Post-Run Script feature.

Click here to find more information regarding Pre/Post Run Script feature.

Start Process Runner and open any Data Extractor sample file. Let us consider “MARA” for this case. Default location for sample file is:

“\\My Documents\Innowera\Samples\folder”.

 

Go to ‘Edit’ tab and click on 'Post Script' from 'Custom Script And Delays Options' Group.

Send-Email-Notification-1

A pop-up window will be displayed as shown below.

SendEmailNotification1

1.Go to 'Post-Run iScript' tab and select 'Internal Script' option from drop-down list.

2.Click on 'Yes' in confirmation pop-up window to replace the existing code with simple code.

3.Select the ‘Post-Run-SendMail’ script file from samples folder and select Open.

Send-Email-Notification-3

Change the following email settings according to your Mail Server .

SendEmailNotification2

Schedule this process and save the file. Once your scheduled file runs successfully, it will automatically send an e-mail to the desired recipient (as per the details in script Settings).

clip0015

Next

Multiple Table Extraction through Connected Process