Understanding workflow runs
A workflow run represents a single execution triggered by an event and tracked from start to completion.Run states
Run states
Runs progress through distinct states during execution:Pending: Waiting for execution resourcesRunning: Actively processing workflow stepsCompleted: All steps finished successfullyFailed: One or more steps encountered errorsCancelled: Execution stopped manually or by system
Run metadata
Run metadata
Each run captures comprehensive information:
- Start time and duration
- Trigger context and inputs
- Step-by-step execution results
- Success and failure counts
- Error messages and stack traces
Viewing run history
Viewing run history
Access workflow run history from the workflow detail page:
- Filter by status (completed, failed, running)
- Search by trigger data or time range
- Sort by execution time or duration
- Export logs for analysis
Step-by-step logging
Each workflow step is individually tracked with detailed execution information.Step details
Step details
View comprehensive step information:
- Input values (raw and resolved)
- Output data produced
- Execution duration
- Error messages if failed
- Dynamic value resolution
Data flow tracking
Data flow tracking
See how data flows through your workflow:
- Trigger data passed to actions
- Action outputs used by subsequent steps
- Dynamic reference resolution
- Value transformations applied
Execution timeline
Execution timeline
Understand execution flow with timeline view:
- Sequential step execution order
- Parallel action execution
- Wait times between steps
- Total workflow duration
Performance monitoring
Track workflow performance with detailed metrics and dashboards.Execution metrics
Monitor executions per day, average duration, and peak usage periods
Success rates
Track completion rates and identify reliability trends
Error frequency
Monitor error patterns and failure rates over time
Resource usage
View processing times and identify performance bottlenecks
Performance data helps with capacity planning by showing when workflows are most active and how long operations take.
Debugging workflows
Systematic approach to identifying and resolving workflow issues.1
Review error messages
Check execution logs for specific error details and context
2
Examine execution timeline
Identify which step failed and review its inputs
3
Check step outputs
Verify data flowing between steps matches expectations
4
Test dynamic references
Ensure dynamic values resolve correctly with test data
5
Verify integrations
Confirm external services are available and authenticated
6
Isolate the issue
Test individual steps when possible to narrow down problems
7
Fix and retest
Make corrections in draft mode and test before republishing
Common issues
Workflow not triggering
Workflow not triggering
Possible causes:
- Workflow is in draft state (not published)
- Trigger filters don’t match the event
- Workflow is disabled
- Integration disconnected
- Verify workflow is published and active
- Review trigger configuration and filters
- Check workflow settings for disabled state
- Reconnect any disconnected integrations
Action failing
Action failing
Possible causes:
- Missing required fields
- Invalid dynamic references
- Permission issues
- External service unavailable
- Check runs and logs for error details
- Verify all required fields are populated
- Test dynamic references with manual run
- Confirm integration permissions are correct
- Verify external service is operational
Incorrect data values
Incorrect data values
Possible causes:
- Wrong dynamic reference selected
- Data transformation issue
- Trigger data missing expected fields
- Review dynamic value configuration
- Check trigger data structure in logs
- Verify field names match exactly
- Test with manual trigger using known data
Slow execution
Slow execution
Possible causes:
- External API delays
- Complex conditional logic
- Multiple sequential actions
- Large data volumes
- Consider parallelizing actions where possible
- Simplify conditional logic
- Use async actions when available
- Review external service performance
Integration errors
Integration errors
Possible causes:
- Disconnected integration
- Expired credentials
- Insufficient API permissions
- Rate limiting
- Reconnect integration from settings
- Refresh authentication credentials
- Verify required API scopes are granted
- Check rate limit status in integration logs
Error types
Understanding error categories helps diagnose issues quickly.Validation errors
Validation errors
Invalid input data or configuration:
- Missing required fields
- Invalid field formats
- Out of range values
- Type mismatches
Integration errors
Integration errors
External service failures:
- Connection timeouts
- Authentication failures
- API rate limits
- Service unavailable
Permission errors
Permission errors
Insufficient access rights:
- Missing API scopes
- User lacks required permissions
- Channel or resource access denied
Timeout errors
Timeout errors
Steps taking too long to execute:
- External API delays
- Large data processing
- Network issues
Workflow attribution in tickets
Track which workflows triggered automated changes in tickets. Each ticket event shows the workflow and run details that caused the update.Event logging
Event logging
Ticket event logs display:
- Workflow name that made the change
- Run ID for the specific execution
- Timestamp of the update
- Changed field values
Audit trails
Audit trails
Use workflow attribution for:
- Debugging unexpected ticket changes
- Understanding automation impact
- Compliance and audit requirements
- Team accountability for automated processes
Log management
Retention periods
Retention periods
Workflow logs are retained for analysis and compliance:
- Run logs: Standard retention period
- Error logs: Extended retention for analysis
- Performance metrics: Long-term trending data
Access control
Access control
Log access is controlled by user permissions:
- View logs for workflows you own or manage
- Workspace administrators see all workflow logs
- Audit trails track who accessed logs
Export and reporting
Export and reporting
Generate reports and export data:
- Export execution logs for analysis
- Create performance reports
- Generate audit trails for compliance
- Download error logs for troubleshooting
Best practices
Set up alerts
Set up alerts
Configure notifications for workflow failures so you’re notified promptly when issues occur. Monitor execution patterns to identify trends.
Regular reviews
Regular reviews
Schedule periodic reviews of workflow performance and error rates. Look for patterns like increasing failures or performance degradation.
Document issues
Document issues
Keep notes on resolved issues and their solutions. This helps troubleshoot similar problems faster in the future.
Test after changes
Test after changes
Always test workflows after making updates. Monitor first few executions closely to catch any issues early.
Maintain integrations
Maintain integrations
Regularly verify integration health and refresh credentials before they expire. Update API permissions when integrations add new features.