Knowledge Base > Automation Engine and Target Systems > Siebel > Starting and Monitoring Tasks

Starting and Monitoring Tasks

The Siebel agent uses the command-line interface of the Siebel Server Manager for executing tasks. Enter the directory in which it is found in the INI file of the Siebel agent in the section [VARIABLES].

Example:

[VARIABLES]
UC_SIEBEL_SRVRMGR=C:\siebel\srvrmgr.exe

Commands that should be executed in Siebel can be specified in the Script tab of a Siebel job. Do so with the specific script statement SI_START_TASK. The Siebel command is transferred with the parameter CMD=:

SI_START_TASKCMD="Siebel command"

Each script line with "SI_START_TASK" is a separate task in Siebel. In order to enable task monitoring (such as canceling or restarting tasks), it is essential that the Siebel command starts with "start task". If "run task" is used, the Siebel job is canceled and an error message is printed.

Two log files are available after the execution of the task:

1) Log file of the Siebel Server Manager call
2) Log file of the task

Define in the section [VARIABLES] of the INI file of the Siebel agent where these log files are stored. Thus, the log files can be transferred from the Siebel agent to AE in the form of reports.

Example:

[VARIABLES]
UC_SIEBEL_SRVRMGR=C:\siebel\srvrmgr.exe
UC_SIEBEL_LOGPATH=C:\siebel\siebelLOGS\

Note that report contents can be read with the script element PREP_PROCESS_REPORT. Report type "LOG" stands for the log file of the Siebel Server Manager call and report type "REP" for the log file of the task.

 

See also:

Tab for Host Attributes - Siebel