Example

Previous  Top  Next

Here we will see how a user can be notified about the data extract that he/she has scheduled with the help of Post Run Script Process of Process Runner.

 

** Pre/Post-Run Processing can be used for all modules of Process Runner i.e. Transaction, BAPI, GUI Script and Data Extractor.

To get an overview on how actually Pre/Post Run Process technically works refer below link:
Pre/Post-Run Process from Process Runner

 

1.Open any Data Extract file from your samples, say MARA (By default samples are in \\MyDocuments\Innowera\Samples\ folder).
2.Go to Advance tab, and Turn ON "Enable Pre and Post Run External Process" as shown below

clip0079

 

3.Click on "Pre/Post Run Process..." button beside.
4.You should get a pop-up window as below. In that Enable "Post-Run Process Settings" and select "Internal Script(Post-Run Script)".

clip0085

 

5.Go to Post-Run iScript tab and click on "Insert Sample Code"

clip0081

 

6.It will prompt you as below. Click Yes and go ahead.

clip0082

 

7.Select the Post-Run-SendMail script file from samples folder (\\My Documents\Innowera\Samples\Scripts).

clip0083

 

8.Change the the following email settings according to your Mail Server.

clip0087

 

clip0089

 

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

clip0086