The Global On-Demand Synchronization Task entered into the On Success Task text box runs after every successful on-demand synchronization.
For example, you could choose to execute a stored procedure after successfully performing synchronizations:
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"
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