--- title: Associating attributes with events for Schedule Optimization description: Schedule Optimization auto-assigns tasks and adapts to changing conditions by following policies to optimize travel time and agent availability. When Workforce Optimization for Field Service is activated, you can associate attributes to events using the sn\_shift\_planning\_sched\_attr table, enhancing optimization and overall scheduling accuracy. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/field-service-management/workforce-optimization-for-field-service/associating-attributes-with-events-for-schedule-optimization.html release: australia product: Workforce Optimization for Field Service classification: workforce-optimization-for-field-service topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [Workforce Optimization, Set up workforce, Configure, Field Service Management] --- # Associating attributes with events for Schedule Optimization Schedule Optimization auto-assigns tasks and adapts to changing conditions by following policies to optimize travel time and agent availability. When Workforce Optimization for Field Service is activated, you can associate attributes to events using the `sn_shift_planning_sched_attr` table, enhancing optimization and overall scheduling accuracy. ## Agent Schedule Attributes Table
| Field | Description |
|---|---|
| Agent schedule | Reference to event |
| Agent schedule occurrence date | Date when agent event occurs |
| Agent Schedule occurrence date span | Schedule span of agent eventThe span can't exceed 30 days. |
| Actual agent schedule | Reference to actual agent event |
| Schedule Status | Status of the event.Events can be marked as either **optional** or **mandatory**: - Optional Events: The technician is free during these times and can be assigned tasks. - Mandatory Events: The technician is busy during these times and can’t be assigned tasks. |
| Location | Location for the agent event |
| Travel duration | Estimated travel duration to event |
| Travel home duration | Estimated travel home duration from event |