Event Handlers can either be set to run during the execution of every report or to only be called when executing specific reports.
NOTE. When multiple Event Handlers are set to run for a single Event, all the Event Handlers are run using the same input values and then the first non-null return value is used by Exago. This means that the return value of Report-specific Event Handlers will take precedence over global Event Handlers.
Ex. Suppose there is a global Event Handler for OnExecuteSqlStatmentConstructed that logs each reports SQL query and a report specific Handler that modifies the ‘Where’ clause of the SQL. When the specified report is run, both Handlers will be executed and return an SQL string. If non-null, the modified SQL from the report specific Event Handler will be utilized by Exago to query the database.
To set an Event Handler to be report specific:
In the Administration Console:
In the Reporting Application: