A script-enabled browser is required for this page to function properly.

After Report trigger

The After Report trigger fires after you exit the Previewer, or after report output is sent to a specified destination, such as a file, a printer, or an e-mail ID. This trigger can be used to clean up any initial processing that was done, such as deleting tables. Note, however, that this trigger always fires, whether or not your report completed successfully.

Definition Level

Report 

On Failure

Does not affect formatting because the report is done. You can raise a message, though, to indicate that the report did not run correctly. For example, you could put the system time in a variable in the Before Report trigger and then compare it against the system time in the After Report trigger. If the report took longer than a certain time to run, you could raise an error. 

Usage notes

See also

About triggers

About report triggers

Creating a report trigger

Deleting a report trigger

About DML and DDL