Siebel Object Interfaces Reference > Interfaces Reference > Application Events >
The Close event is called before the application exits. This allows scripts to perform last-minute cleanup (such as cleaning up a connection to a COM server). It is called when Windows notifies the application that it should close, but not if the process is terminated directly.
NOTE: Siebel Business Processes invokes this event. For more information, read Siebel Business Process Framework: Workflow Guide.