Reports Scheduler
Reports Scheduler - User Guide
Section titled “Reports Scheduler - User Guide”Overview
Section titled “Overview”The Reports Scheduler allows you to create automated reports that can be sent via email and Microsoft Teams webhooks on a recurring schedule. This feature is available to users with the GlueAdmin role.
Accessing the Report Scheduler
Section titled “Accessing the Report Scheduler”- Navigate to
/ReportQuerySchedulerin your application - You must have the GlueAdmin role to access this page
- The page displays two views:
- Calendar View (📅) - Shows scheduled reports in a visual calendar format
- List View (📋) - Shows all reports in a grid format
Creating a New Scheduled Report
Section titled “Creating a New Scheduled Report”Step 1: Click the Create Button
Section titled “Step 1: Click the Create Button”Click the Create button at the top of the Report Scheduler page.
Step 2: Fill in Basic Information
Section titled “Step 2: Fill in Basic Information”In the creation dialog, provide the following information:
- Name: A descriptive name for your scheduled report (e.g., “Weekly Active Users Report”)
- Subject: The email subject line that recipients will see
- Body: The email body content (supports HTML formatting)
- Query: Select a pre-configured query from the Query Builder
Step 3: Configure Recipients
Section titled “Step 3: Configure Recipients”Add email recipients who should receive this report:
- Enter email addresses in the Recipients field
- Multiple recipients can be added (refer to the format used in your system)
Configuring Email Notifications
Section titled “Configuring Email Notifications”Email notifications are the primary delivery method for scheduled reports.
Email Components
Section titled “Email Components”-
Subject:
- This becomes the email subject line
- Keep it descriptive and informative
- Example: “Monthly Sales Report - [Date]”
-
Body:
- Supports HTML formatting for rich content
- Can include context about the report
- The query results will be included in the email
- Example:
<p>Hello,</p><p>Please find attached the weekly active users report.</p><p>This report was automatically generated on [date].</p>
-
Recipients:
- Add all email addresses that should receive this report
- Ensure email addresses are properly formatted
Configuring Teams Webhooks
Section titled “Configuring Teams Webhooks”Microsoft Teams webhook integration allows you to send report notifications directly to Teams channels.
Step 1: Enable Teams Notifications
Section titled “Step 1: Enable Teams Notifications”- Check the Send to Teams option in the report configuration
Step 2: Configure the Webhook URL
Section titled “Step 2: Configure the Webhook URL”- In Microsoft Teams, navigate to the channel where you want to receive notifications
- Click the ••• (More options) menu
- Select Connectors or Workflows
- Create an Incoming Webhook
- Copy the webhook URL provided by Teams
- Paste the webhook URL into the Teams Webhook URL field
For further information on creating a webhook in Microsoft Teams refer to the Microsoft documentation here
Teams Notification Features
Section titled “Teams Notification Features”When Teams notifications are enabled:
- A notification badge appears in the report details showing ”✓ Enabled”
- The last 20 characters of the webhook URL are displayed for verification
- Notifications are sent to the configured Teams channel when the report runs
Security Note
Section titled “Security Note”The full webhook URL is stored securely and only the last 20 characters are displayed in the UI for security purposes.
Setting Up the Schedule
Section titled “Setting Up the Schedule”The scheduler uses a recurrence pattern to determine when reports should run.
Using the Calendar View
Section titled “Using the Calendar View”- Switch to the Calendar View (📅 tab)
- Click on a date/time to create a new appointment
- Configure the recurrence pattern:
- One-time: Select a specific date and time
- Daily: Repeat every day or every N days
- Weekly: Repeat on specific days of the week
- Monthly: Repeat on a specific day of the month
- Yearly: Repeat annually
Recurrence Examples
Section titled “Recurrence Examples”- Daily Report: Configure to run every day at 9:00 AM
- Weekly Report: Run every Monday at 8:00 AM
- Monthly Report: Run on the 1st of each month at midnight
- Quarterly Report: Run every 3 months on the first Monday
Recurrence Exceptions
Section titled “Recurrence Exceptions”If you need to skip a specific occurrence:
- Find the occurrence in the calendar view
- Delete that specific instance
- The exception is recorded, and the report won’t run on that date
Viewing and Managing Reports
Section titled “Viewing and Managing Reports”Calendar View Features
Section titled “Calendar View Features”- Day View: See all reports scheduled for a specific day
- Week View: View the entire week’s schedule
- Month View: Overview of all reports in the month
- Timeline View: Chronological view of scheduled reports
Viewing Report Details
Section titled “Viewing Report Details”- Click on a report in the calendar to see basic information
- Click the Details button to navigate to the full report details page
- The details page shows:
- Report name, subject, and body
- Associated query
- Email recipients
- Teams webhook configuration status
- Last run date (when available)
List View Features
Section titled “List View Features”The list view provides:
- Sortable and filterable grid of all reports
- Quick access to all report properties
- Bulk management capabilities
Editing Existing Reports
Section titled “Editing Existing Reports”From the Calendar View
Section titled “From the Calendar View”- Click on the report in the calendar
- Click the Details button
- On the details page, click the ••• menu
- Select Edit
From the Details Page
Section titled “From the Details Page”- Navigate to
/ReportQuerySchedule/Details/{Id} - Click the ••• (More options) menu in the top-right corner
- Select Edit from the dropdown
- Make your changes in the edit dialog
- Click Save
What You Can Edit
Section titled “What You Can Edit”- Report name
- Email subject and body
- Recipients list
- Query selection
- Teams webhook URL
- Send to Teams toggle
- Schedule/recurrence pattern
Schedule Updates
Section titled “Schedule Updates”To modify when a report runs:
- Go to the Calendar View
- Drag and drop the report to a new time slot
- Or click the report and edit its recurrence pattern
Deleting Reports
Section titled “Deleting Reports”From the Details Page
Section titled “From the Details Page”- Navigate to the report details page
- Click the ••• (More options) menu
- Select Delete
- Confirm the deletion when prompted
Warning: Deleting a report will:
- Remove the report schedule permanently
- Stop all future email and Teams notifications
- This action cannot be undone
From the Calendar View
Section titled “From the Calendar View”- Click on the scheduled report
- Delete the appointment from the calendar
- If it’s a recurring report, you can:
- Delete a single occurrence (creates an exception)
- Delete the entire series
Best Practices
Section titled “Best Practices”Report Naming
Section titled “Report Naming”- Use clear, descriptive names
- Include the frequency in the name (e.g., “Daily Sales Summary”)
- Use consistent naming conventions across reports
Email Configuration
Section titled “Email Configuration”- Keep email subjects concise and informative
- Use HTML formatting in the body for better readability
- Test with a single recipient before adding multiple recipients
Teams Webhooks
Section titled “Teams Webhooks”- Use dedicated channels for automated reports
- Name the webhook connector clearly in Teams
- Test the webhook before scheduling
Scheduling
Section titled “Scheduling”- Avoid scheduling too many reports at the same time
- Consider timezone differences when scheduling
- Use appropriate frequencies (avoid over-reporting)
- Schedule reports during off-peak hours when possible
Maintenance
Section titled “Maintenance”- Review the Last Run Date periodically to ensure reports are running
- Remove obsolete reports to keep the system clean
- Update queries when underlying data structures change
Troubleshooting
Section titled “Troubleshooting”Report Not Sending
Section titled “Report Not Sending”- Check the Last Run Date on the details page
- Verify the query is still valid
- Confirm recipients’ email addresses are correct
- For Teams: Verify the webhook URL is still active
Teams Webhook Not Working
Section titled “Teams Webhook Not Working”- Verify the webhook is still active in Teams
- Re-create the webhook if necessary
- Ensure the Send to Teams option is enabled
- Check that the webhook URL is complete and correct
Schedule Not Running
Section titled “Schedule Not Running”- Verify the recurrence pattern is correct
- Check for recurrence exceptions
- Ensure the report is marked as Active
- Review system logs for errors
Appendix: Field Reference
Section titled “Appendix: Field Reference”| Field | Required | Description |
|---|---|---|
| Name | Yes | Display name for the report |
| Subject | Yes | Email subject line |
| Body | No | Email body content (HTML supported) |
| Query | Yes | Pre-configured query from Query Builder |
| Recipients | Yes* | Email addresses to receive the report |
| Send to Teams | No | Enable Teams webhook notifications |
| Teams Webhook URL | Yes* | Teams incoming webhook URL |
| Date | Yes | Initial start date/time |
| Recurrence Rule | No | Pattern for recurring reports |
* Required if email or Teams notifications are enabled respectively