Tool Search: Ed-Fi
This event entity represents the recording of whether a student is in attendance on a daily basis at their school.
Object Triggering Logic
This table describes logic for triggering syncing of this object.
| Action | Trigger | 
|---|---|
| Post | When a new attendance event is verified and saved for a student: 
 | 
| Put | If Attendance Event Reason is changed. | 
| Delete | Delete attendance record if all attendance is removed for the day for that Attendance Event Category Descriptor. | 
| Delete | When an enrollment is deleted. | 
School Exclude, Calendar Exclude, Resource Toggle and Resync Logic
This table describes the School Exclude, Calendar Exclude, Resource Toggle and Resync logic of this object.
| Action | Trigger | 
|---|---|
| None | If a resource is toggled to 'OFF' after data has sent, all sent data will remain in the ODS but no new data will send. | 
| Resync | If a record is in the Ed-Fi Identity Mapping table and not in the ODS, it will be deleted from the Ed-Fi Identity Mapping table. | 
| Resync | If a record is in the ODS and it does not have a matching record in Campus or the Ed-Fi Identity Mapping table, it will be deleted from the ODS. | 
| Resync | If a mapping is changed in Resource Preferences, a resync will need to be done to reflect the changes. | 
Natural Key Changes, Cascading Updates, and Deletes Logic
This table describes the Natural Key Changes/Cascading Updates and Deletes logic of this object.
| Action | Trigger | 
|---|---|
| Post/Delete | If any part of the Natural Key Changes 
 | 
Scope Year Logic
This table describes scope year logic of this object.
| Logic | 
|---|
| Attendance will send to the scope year for the school year the attendance dates are associated with based on the student's enrollment. 
 | 
Resource Preferences
This table describes the Resource Preferences of this object.
| Data Element Label | Mapping Needed | 
|---|---|
| Attendance Status and Excuse | Attendance Event Category Descriptors | 
Event Queue Detail
This table describes the Event Queue Detail of this object.
| Campus Table | Ed-Fi Action | Fields | 
|---|---|---|
| attendance | Post/Put/Delete | The primary table used for sending data for this resource. | 
Object Data Elements
This table describes data elements sent within the Student School Attendance Event resource. Elements in bold are required.
| Data Element Label | Business Requirement | Business Rules | M, C or O | Data Source GUI Path | Database Field | 
|---|---|---|---|---|---|
| id | The unique identifier of the resource. | M | |||
| attendanceEventCategoryDescriptor | A code describing the attendance event, for example: Present, Unexcused absence, Excused absence, Tardy. | 
 | M | Attendance> Status + Excuse | attendance.status attendance.excuse | 
| eventDate | Date for this attendance event. | 
 | M | Attendance> Date | attendance.date | 
| schoolReference | A reference to the related School resource. | 
 
 | M | ||
| sessionReference | A reference to the related Session resource. | 
 | M | ||
| studentReference | A reference to the related Student resource. | 
 
 | M | ||
| attendanceEventReason | The reported reason for a student's absence. | 
 | O | Attendance> Comments | attendance.comments | 
| educationalEnvironmentDescriptor | The setting in which a child receives education and related services. | 
 | O | ||
| eventDuration | The amount of time for the event as recognized by the school: 1 day = 1, 1/2 day = 0.5, 1/3 day = 0.33. | 
 | O | ||
| etag | A unique system-generated value that identifies the version of the resource. | O | 
