Saving to the Script Sessions Table
You can save header information about each SmartScript session and also specific questions and answers for the session. To do so, you must select the Save Session check box in the Scripts view of the Administration - SmartScript screen, and select the Save Answer Table check box for any question that you want to log as part of the Script Sessions information.
This is useful when you do not want the answers to be saved to records and other business components for the rest of the application, but still want to save the answers provided during the SmartScript execution.
The Call Script Runs and Call Script Run Answers business components are based on the Script Sessions table and the Answers table, respectively.
You can use the business components to store answers provided by the user during a SmartScript session. They allow you control whether a session is created and which questions have their answers saved in the answers table.
The Call Script Runs business component saves the following values:
SmartScript name
Date and time the SmartScript started
Employee name if the SmartScript executes from an employee application
Contact name if the SmartScript is run from a customer application
In addition, the duration of the SmartScript execution is automatically saved as well as the language in which the SmartScript was run. There is a one-to-many relationship between the Call Script Runs table and the Call Script Run Answers table. The answers table simply stores question and answer pairs. In other words, you might get a single session record and multiple answer records associated with that session’s record for every Siebel SmartScript run.