Service level agreements (SLA)
Configure and manage SLA policies for tickets
Service Level Agreements (SLAs) in the Thena platform help organizations define, track, and maintain service standards for ticket resolution. This feature enables teams to set up granular policies based on various criteria and monitor performance against defined targets.
Core purpose
SLAs establish clear expectations for response and resolution times, helping teams prioritize work and maintain consistent service quality. The system supports multiple metrics, business hours, and complex policy conditions.
Key concepts
SLA metrics
• First response time
• Next response time
• Resolution time
• Update time
Policy criteria
• Ticket properties
• Customer attributes
• Time-based rules
• Custom conditions
Understanding response time metrics
Key response time metrics:
- First response time: Time to first agent response after ticket creation
- Next response time: Time between customer comments and subsequent agent responses
- Update time: Regular updates at fixed intervals (e.g., every 30 minutes for incidents)
- Resolution time: Total time to resolve the ticket, considering business hours and pauses
Update time specific characteristics:
- Run on fixed intervals (e.g., 30 minutes for incidents)
- Are not reset by agent responses
- Continue on the original schedule regardless of early updates
- Require regular updates even if there are other interactions
The first response time metric measures how long it takes for the first agent response after a ticket is created.
The first response time metric measures how long it takes for the first agent response after a ticket is created.
The next response time metric tracks the time between each customer comment and the subsequent agent response.
The update time metric ensures regular updates (public comments) on tickets at fixed intervals, regardless of other interactions.
The resolution time metric tracks the total time taken to resolve a ticket, considering business hours and any pause periods.
Common scenarios
Multiple agent responses before customer reply don’t reset or affect the SLA timer.
Multiple agent responses before customer reply don’t reset or affect the SLA timer.
Additional customer comments before first response don’t reset the first response timer.
Common pause scenarios:
-
Automatic pauses:
• Pending customer response
• Third-party dependencies
• Integration sync delays
• Scheduled maintenance windows -
Manual pauses:
• Emergency maintenance
• Major incidents
• Planned downtimes
• Customer-requested holds -
Business rules:
• Only business hours counted during active periods
• Pause periods completely excluded
• Auto-resume on specific triggers
• Pause reason tracking for reporting
Business hours calculation examples
Example details:
- Ticket created Monday 10:00 AM
- Business hours: 9 AM - 5 PM
- 5-hour SLA requirement
- Monday: 7 hours counted (10 AM - 5 PM)
- Tuesday: Needs 3 more hours, counted from 9 AM
- SLA breaches Tuesday at 12:00 PM if not resolved
Example details:
- Ticket created Monday 10:00 AM
- Business hours: 9 AM - 5 PM
- 5-hour SLA requirement
- Monday: 7 hours counted (10 AM - 5 PM)
- Tuesday: Needs 3 more hours, counted from 9 AM
- SLA breaches Tuesday at 12:00 PM if not resolved
Example details:
- Ticket created Friday 4:00 PM
- 5-hour SLA
- 1 hour counted Friday
- 0 hours counted on weekend
- 4 hours counted Monday
- SLA breaches Monday at 1:00 PM
Example details:
- 5-hour SLA with multiple pauses
- Monday: 3 hours counted (10-11 AM, 2-4 PM)
- Tuesday: 2 hours counted (10 AM-12 PM)
- Paused time not counted
Complex SLA scenarios
When priority changes from High (4hr SLA) to Urgent (2hr SLA):
- Time already elapsed (1hr) is considered
- New breach time = Current time + (New SLA duration - Elapsed time)
When priority changes from High (4hr SLA) to Urgent (2hr SLA):
- Time already elapsed (1hr) is considered
- New breach time = Current time + (New SLA duration - Elapsed time)
Tracking multiple SLA metrics simultaneously:
- First response: 2 hours (Met in 1 hour)
- Resolution time: 8 hours (Met in 7 hours)
- Each metric tracked independently
A ticket created between working hour slots:
- Working hours configured in two slots: • Morning slot: 09:00-17:00 • Evening slot: 18:00-23:59
- Ticket created at 17:30 (during break)
- 60-minute SLA duration
- Since ticket was created during non-working hours: • SLA clock starts at next slot (18:00) • SLA breaches at 19:00 if not resolved
Example of ticket created on weekend:
- Working hours: Monday-Friday
- Ticket created: 17:00 Sunday
- SLA duration: 60 minutes
- SLA breach time: 10:00 Monday
Example of ticket created on holiday:
- Holidays: Dec 25, Dec 31, Jan 1
- Ticket created: 10:00 on Christmas
- SLA duration: 60 minutes
- SLA breach time: 10:00 next business day
Example of longer SLA spanning multiple days:
- Ticket created: 17:30 Thursday
- SLA duration: 24 hours
- Spans across weekend
- SLA breach time: 13:00 Monday
SLA policies
Policy components
Basic information
- Policy name and description
- Entity type (e.g., ticket)
- Priority level
- Active status
Target metrics
- First response time targets
- Next response time targets
- Resolution time targets
- Update time requirements
Conditions
- Ticket-based filters (priority, type, channel)
- Customer attributes (tier, region, SLA tier)
- Time-based conditions
- Business hours and holidays
Pause rules
- Automatic pause conditions
- Manual pause capability
- Resume conditions
- Multiple pause/resume support
Policy ordering
When multiple SLA policies are applicable to a ticket, the system applies the policy with the highest priority in the policy order. This allows for precise control over which policies take precedence.
Example tier-based policies:
-
Platinum tier:
• First response: 30 minutes
• Resolution: 4 hours
• Update frequency: Every 30 minutes -
Gold tier:
• First response: 1 hour
• Resolution: 8 hours
• Update frequency: Every 2 hours -
Silver tier:
• First response: 4 hours
• Resolution: 24 hours
• Update frequency: Daily -
Default:
• First response: 8 hours
• Resolution: 48 hours
• Update frequency: Every 48 hours
Example tier-based policies:
-
Platinum tier:
• First response: 30 minutes
• Resolution: 4 hours
• Update frequency: Every 30 minutes -
Gold tier:
• First response: 1 hour
• Resolution: 8 hours
• Update frequency: Every 2 hours -
Silver tier:
• First response: 4 hours
• Resolution: 24 hours
• Update frequency: Daily -
Default:
• First response: 8 hours
• Resolution: 48 hours
• Update frequency: Every 48 hours
Policy selection process:
- System identifies all matching policies
- Evaluates policies in order of priority
- Applies the first matching policy
- Ignores lower priority policies
Dynamic SLA updates
SLA policies can be updated based on ticket changes. The system recalculates breach times considering the time elapsed under previous policies.
Scenario 1: Early upgrade
- Created: 8 AM (High - 4hr SLA)
- Updated: 9 AM (Urgent - 2hr SLA)
- Time elapsed: 1 hour
- New breach time: 10 AM
Scenario 1: Early upgrade
- Created: 8 AM (High - 4hr SLA)
- Updated: 9 AM (Urgent - 2hr SLA)
- Time elapsed: 1 hour
- New breach time: 10 AM
Scenario 2: Late upgrade
- Created: 8 AM (High - 4hr SLA)
- Updated: 11 AM (Urgent - 2hr SLA)
- Time elapsed: 3 hours
- Result: Immediate breach
Scenario 3: Post-breach upgrade
- Created: 8 AM (High - 4hr SLA)
- Breached: 12 PM
- Updated: 1 PM (Urgent)
- Result: Maintains breach status
Scenario 4: Post-breach downgrade
- Created: 8 AM (Urgent - 2hr SLA)
- Breached: 10 AM
- Updated: 11 AM (High)
- Result: Maintains breach status
Manual Override: Users with appropriate permissions can manually override the SLA policy for specific tickets. This allows for exceptional cases while maintaining the standard policy hierarchy for regular operations.
Business hours
Configuration
• Define working hours per day
• Set up multiple time zones
• Configure holiday calendar
• Specify weekend rules
Impact on SLA
• Only count business hours
• Handle timezone differences
• Skip holidays automatically
SLA tracking
Real-time monitoring
Status indicators
• Time remaining display
• Breach warnings
• Pause status
Notifications
• Breach alerts
• Team notifications
API endpoints
Sample SLA policy
For detailed API specifications and examples, see Create SLA Policy.
The response includes all fields from the request plus these system-managed fields:
organizationId
: Organization that owns the policyversion
: Policy version numberpriority
: Policy priority in the evaluation orderisActive
: Whether the policy is currently activeuid
: Unique identifier for the policycreatedAt
: Creation timestampupdatedAt
: Last update timestamp
Available operations
Best practices
Policy design
- Start with broad policies
- Define clear hierarchies
- Use specific conditions
- Regular policy reviews
Monitoring and tracking
- Set up early warnings
- Track team performance
- Monitor breach patterns
- Regular reporting review
Team management
- Clear escalation paths
- Define team responsibilities
- Set notification rules
- Regular team training