Bookshelf Home | Contents | Index | PDF |
Siebel Analytics Scheduler Guide > Examples of Analytics Scheduler Scripts > Script for iBot ChainingThe following script copies the results of an iBot to another directory. It copies the temporary file containing the results of the Conditional Request to the iBot log directory. The JobID, InstanceID, and UserID are used in the file name to guarantee that the result sets will not overwrite each other with each execution of the iBot, for each user, or for other iBots that share this script. The example script uses the following setup:
The output of this example, after the iBot is run, is a file on the Scheduler machine called D:\SiebelAnalytics\Log\iBots\101-1208-Administrator-iBotScript1.PDF. This file contains the results of the Conditional Request in PDF format. For all scripts from chained iBots, the full path name to the temporary file is specified in ///////////////////////////////////////////////////////////// var FSO = new ActiveXObject("Scripting.FileSystemObject"); var fileName = GetConfigurationValue("Log Dir", "iBots") + |
Siebel Analytics Scheduler Guide |