Global On-Demand Synchronization Task - On Success Task

The Global On-Demand Synchronization Task entered into the On Success Task text box runs after every successful on-demand synchronization.

Image110.jpg

For example, you could choose to execute a stored procedure after successfully performing synchronizations:

  1. Create the following task under Global On-Demand Synchronizations Tasks in the On Success Task text box:  

isql -S servername -Usa -P username -d workflow -Q"exec populate_views"

  1. When the synchronization is run, an entry resembling the following appears in the log file if the synchronization was successful:

Log Entry: Thursday, September 9, 2004 3:18:39 PM

Executed AfterSyncSuccess Task. isql -S servername -Usa -P username -d workflow -Q"exec populate_views" ReturnStatus=0