Execution History
The Execution History page provides a comprehensive view of all flow executions, allowing you to monitor, analyze, and manage your automation runs.
Overview
The Execution History page displays:
- Parent Flow Executions: Main flow runs with complete execution details
- Performance Metrics: Execution duration, success rates, and statistics
- Filtering Options: Filter by status, flow, device, and date range
- Bulk Operations: Select and delete multiple executions
Key Features
Filtering and Search
- Status Filter: Filter by execution status (SUCCESS, FAILED, RUNNING, etc.)
- Flow Filter: Filter by specific flow ID
- Device Filter: Filter by device used for execution
- Date Range: Filter executions within a specific time period
- Clear Filters: Reset all filters with one click
Execution Management
- Individual Deletion: Delete single executions with confirmation
- Bulk Deletion: Select multiple executions for batch deletion
- Execution Details: View detailed execution information and steps
- Navigation: Click on executions to view detailed results
Video Recordings
- Automatic Recording: Screen recordings are automatically captured during flow execution
- S3 Storage: Video files are stored in S3 for reliable access and archival
- Video Playback: View execution videos directly in the execution detail page
- Download Support: Download video recordings for offline analysis or sharing
- Video Format: Recordings are saved in Matroska (MKV) format and served as MP4
- Recording Association: Each execution can have an associated video recording file
Statistics and Analytics
- Performance Stats: Toggle statistics panel to view:
- Total executions count
- Success rate percentage
- Average execution duration
- Execution trends over time
- 30-Day Default: Statistics show data from the last 30 days
User Interface
Header Section
- Page title and description
- Action buttons for stats, bulk operations, and filter management
- Statistics panel (toggleable)
Filters Panel
- Dropdown selectors for status, flow, and device filters
- Date range picker for temporal filtering
- Real-time execution count display
Results Table
- Sortable columns (Date, Flow, Status, Duration, Device)
- Checkbox selection for bulk operations
- Load more button for pagination
- Individual action buttons per execution
Usage Examples
Viewing Recent Executions
- Navigate to Execution History
- View default list of recent parent flow executions
- Use "Show Stats" to see performance metrics
Filtering Failed Executions
- Click the Status filter dropdown
- Select "FAILED" from the options
- View only failed executions for troubleshooting
Bulk Cleanup
- Use filters to find old executions
- Select executions using checkboxes
- Click "Delete Selected" with confirmation
Performance Analysis
- Toggle "Show Stats" panel
- Review success rates and average durations
- Filter by specific flows to analyze performance
Viewing Execution Videos
- Navigate to an execution detail page
- Locate the "Execution Video" card in the right column
- Use video controls to play, pause, and seek through the recording
- Click "Download" button to save the video file locally
- Videos are streamed from S3 for efficient playback
Technical Details
Data Loading
- Uses React Query for efficient data fetching
- Implements infinite scroll with 50-item pages
- Automatic cache invalidation on component mount
- Error handling with retry functionality
Filtering Logic
- Server-side filtering for optimal performance
- Real-time filter application without page reload
- Combined filters support (AND logic)
- Filter state preservation during navigation
Troubleshooting
Common Issues
- No Executions Showing: Check filters and try clearing them
- Stale Data: Page refresh automatically invalidates cache
- Slow Loading: Consider using date range filters for large datasets
- Delete Failures: Ensure you have proper permissions and retry
Error Handling
- Component-level error boundaries prevent crashes
- User-friendly error messages with retry options
- Automatic retry for failed data fetching
- Toast notifications for operation feedback
Best Practices
- Regular Cleanup: Use bulk delete to remove old executions
- Filter Usage: Apply filters before loading large datasets
- Performance Monitoring: Check stats panel regularly for trends
- Error Analysis: Use failed execution filter for debugging
- Date Ranges: Limit date ranges for better performance
Integration
The Execution History integrates with:
- Flow Management: Links to flow details and settings
- Device Management: Shows device information and status
- Recording System: Associates video recordings with executions, stored in S3
- S3 Storage: Video files are automatically uploaded to S3 after execution completion
- Analytics: Provides data for performance monitoring