Send Email Notification of Data Extract through Post-Run Script

Previous  Home  Next

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 samples is:

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

 

Go to ‘Advanced’ tab and check ‘Enable Pre and Post run external process’ option as shown below. Click on ‘Pre/Post Run Process’ button to proceed further.

AD-Tut-DE-SEMODET_post-run

You should get a pop-up window as shown below. Enable ‘Post-Run Process Settings’ option. Select sub-option ‘Internal Script’ (Post-Run iScript) in ‘Select process from’ option. Click on OK button to proceed further.

AD-Tut-DE-SEMODET_post-run-1

Go to ‘Post-Run iScript’ tab in the same window and click on ‘Insert Sample Code’ button.

AD-Tut-DE-SEMODET_post-run-2

AD-Tut-DE-SEMODET_post-run-3

Select the ‘Post-Run-SendMail’ script file from samples folder.

AD-Tut-DE-SEMODET_post-run-4

Change the following email settings according to your Mail Server.

AD-Tut-DE-SEMODET_post-run-5

AD-Tut-DE-SEMODET_post-run-6

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).

AD-Tut-DE-SEMODET_post-run-7

 

Next:

Multiple Table Extraction through Connected Process