Scheduler

Overview

The Scheduler feature allows you to automate workflow execution by scheduling them to run at specific dates and times, or on recurring intervals. This eliminates the need for manual execution and ensures your tests run consistently without human intervention.


Why Use Scheduling?

Run tests automatically without manual interventionβ€”schedule them for off-hours to not interfere with development.


Creating a Schedule

Basic Schedule Setup

  1. Open your workflow in Test Orchestration

  2. Click "Schedule" or find scheduling options

  3. Choose schedule type: One-time or Recurring

  4. Set execution time and frequency

  5. Configure notifications (optional)

  6. Save schedule

One-Time Schedule

Use for:

  • Running tests at a specific date/time

  • Post-deployment testing

  • Emergency regression runs

  • Scheduled maintenance tests

Steps:

  1. Select "One-Time" schedule type

  2. Choose date and time

  3. Set timezone

  4. Add description (optional)

  5. Click "Schedule"

Recurring Schedule

Use for:

  • Nightly test runs

  • Weekly regression suites

  • Daily smoke tests

  • Monthly performance tests

Recurrence Options:

  • Daily

  • Weekly (choose specific days)

  • Monthly (choose specific dates)

  • Custom (create advanced patterns)


Schedule Configuration

Time Settings

Schedule Frequency Examples

Daily at 2:00 AM

Every Monday at 9:00 AM

First and Third Friday of each month


Managing Schedules

View All Schedules

  1. Go to Workflow Dashboard

  2. Click "Scheduled Runs" tab

  3. View all scheduled workflows and their next execution time

Edit a Schedule

  1. Find the scheduled workflow

  2. Click "Edit Schedule"

  3. Modify time/frequency/settings

  4. Save changes

Disable/Pause a Schedule

  1. Find the scheduled workflow

  2. Click "Pause Schedule" or toggle off

  3. Schedule will be paused (not deleted)

  4. Re-enable anytime by clicking "Resume"

Delete a Schedule

circle-exclamation
  1. Find the scheduled workflow

  2. Click menu (three dots)

  3. Select "Delete Schedule"

  4. Confirm deletion


Notifications & Alerts

circle-check

Schedule Execution Notifications

Configure who gets notified when scheduled workflows run:

  1. Open workflow

  2. Click "Schedule Settings"

  3. Configure notifications:

    • Run started

    • Run completed

    • Run failed

    • Run with warnings

Notification Recipients

  • πŸ“§ Email addresses (comma-separated)

  • πŸ’¬ Slack channels

  • πŸ‘₯ Microsoft Teams channels

  • πŸ”— Webhooks

  • πŸ”Œ Custom integrations

Notification Content

circle-info

Notifications include:

  • βœ… Workflow name and status

  • ⏱️ Execution time and duration

  • πŸ“Š Pass/fail summary

  • πŸ“‹ Link to detailed reports


Best Practices

What to Do

  • βœ… Stagger schedules - Avoid running many workflows simultaneously

  • βœ… Use off-peak hours - Schedule during low-activity periods

  • βœ… Set timezone explicitly - Prevent confusion across regions

  • βœ… Monitor initial runs - Watch first few scheduled runs to ensure they work

  • βœ… Document the purpose - Add descriptions to scheduled workflows

  • βœ… Review regularly - Check which workflows are scheduled quarterly

  • βœ… Set expiration dates - End obsolete schedules

  • βœ… Test before scheduling - Run workflow manually first

❌ Don't

  • Schedule too frequently: Every 5 minutes can strain resources

  • Run during peak hours: Interferes with user activity

  • Forget timezones: Can cause unexpected execution times

  • Schedule untested workflows: Test manually first

  • Leave failed schedules unattended: Monitor and fix errors

  • Overlap resource-intensive tests: Stagger heavy workflows


Real-World Examples

Example 1: Nightly Regression Suite

Example 2: Weekly Smoke Tests

Example 3: Post-Deployment Testing

Example 4: Monthly Performance Tests


Advanced Scheduling

Conditional Scheduling

Schedule based on conditions:

  • Previous workflow results

  • Data availability

  • System load

  • External events (via webhooks)

Workflow Dependencies

Chain workflows with scheduling:

Custom Schedules

Create complex schedules:

  1. Click "Custom" in frequency selector

  2. Define cron expression (for advanced users)

  3. Validate expression

  4. Save custom schedule

Example cron expressions:


Troubleshooting

Issue: Scheduled workflow didn't run

Possible causes:

  • Workflow has errors or is disabled

  • Schedule was accidentally paused

  • Timezone is incorrect

  • Insufficient permissions

Solution:

  1. Check workflow status

  2. Verify schedule is enabled

  3. Check timezone settings

  4. Review execution logs

Issue: Too many workflows running simultaneously

Solution:

  • Stagger workflow start times

  • Add delays between scheduled runs

  • Increase schedule intervals

  • Split into smaller workflows

Issue: Notifications not being received

Solution:

  1. Verify recipient addresses are correct

  2. Check notification settings

  3. Review spam/junk folders

  4. Test notification delivery


Monitoring Scheduled Runs

View Execution History

  1. Open workflow

  2. Click "Execution History" or "Schedule History"

  3. View all past scheduled runs

  4. Click run to view detailed results

Performance Metrics

Track scheduled execution performance:

  • Average execution time

  • Success rate percentage

  • Failed runs count

  • Longest execution time

  • Trend analysis over time

Reports

Generate reports for scheduled workflows:

  1. Open workflow

  2. Click "Reports"

  3. Filter by date range

  4. Export as PDF/CSV (if available)


Integration with Other Features

  • Data Propagation: Scheduled workflows can pass data to next runs

  • Notifications: Get alerts on schedule execution status

  • Session Persistence: Maintain sessions across scheduled runs

  • Reports: Track all scheduled execution results

  • Run Configuration: Customize how scheduled workflows execute


Last updated