Task viewer
With Report Task Viewer, you can troubleshoot your reporting issues and see which reports and applications consume the most processing time on your platform.
Report Task Viewer usage
In VehicleTracker, go to Main Menu > Reports > Report Task Viewer (previously Site Admin (Legacy) > Reporting > Task Viewer).
Note: To open Report Task Viewer, your user needs the Site Admin privilege Report Task Viewer (category Reports). Roles that had access to the old Task Viewer page get this privilege automatically.
Report Task Viewer lists the report tasks processed on the server for the date range you choose (today by default). To narrow the list, type in the Search user, application or report box and press Enter. Use Group by to decide how you want to see the results. You can group by one option at a time; each group shows its total Effective time, Errors and Count.
For example, if you group by application, you can tell which application is using more report processing time from the total effective time of each group, and see how many reports were processed and how many had errors.
Group by options
- Application: displays the reports grouped by the application they were run in.
- Report template (previously Report Definition): displays the reports grouped by their name.
- Report: displays the reports grouped by their report type.
- Started by (previously User): displays the reports grouped by the users that have executed them.
- Task: displays the reports grouped by the tasks that have executed them (Batch Processing, View, Email/FileSave Scheduled).
- Message: displays the reports grouped by their execution type (direct or delivered).
Detecting issues in reports
Possible causes
Sometimes you may be able to find errors in your reporting framework. Some of the most common issues you can find are:
- Not following the report best practices.
- By executing or viewing the same report multiple times overloading the server with too many processing queues.
- Customization errors for not follow the report customization best practices.
- Wrong email recipients or SMTP server errors (SMTP server rejects too many emails, SMTP slow response, etc.).
- The processing time exceeds the maximum allowed per application (in Site Admin under the application properties -> Quotas -> Report rendering limit).
Diagnose and action
Finding reports that consume too much processing time
If you want to know which report is the most demanding for your platform, click the Effective time column header to sort the report tasks by it. This time tells you exactly how long the report has been processed.
Total time is the Effective time + the time taken into account since the report has been requested.
Task values are:
- Batch Processing: for the processes that has been queued (for example reports with saved settings and Email scheduled reports).
- View is for the reports that has been requested to be viewed inside the VehicleTracker application.
Improve processing time
If you want to improve your report processing time, you can do the following:
- Update your platform to the latest plugins.
- Allow only access to the reports the users really need (in Site Admin, enable only the reports needed under Privileges and Roles -> Reporting)
- Allow only certain users to execute reports (by using Roles).
- Limit the processing time of your applications if your users abuse the reporting framework without a reasonable explanation (in Site Admin under the application properties -> Quotas -> Report rendering limit).
- Review if your reports comply with the best practices and customization best practices.
Searching for errors in the queue
The first thing to do is to search and group as described above, for example searching for an application and grouping by Report.
This shows the list of reports and which ones have errors:
Click a task to open its details. There you can see the report details (Definition, Application, Started by, Task, Message), the Timing (Requested, Processing started, Effective time, Total time), the Parameters used, the deliveries (recipients and any errors) for delivered reports, and per provider the Performance timings and Checkpoint info, including the actual error message. Click Back to return to the list.
If a task is still queued or pending, you can stop it with Abort task and confirm. Finished tasks cannot be aborted.
If the error message is not clear enough, you can contact support for further help.