...
Overview
Attendance records are records that indicate an individual's or an asset’s inclusion in a particular sessionSession, most typically this is a class session. Whereby for example there might be 20 students, a teacher and a classroom. Each of these attendance records are records in the Salesforce events object. These are the record types per attendance record type:
Students = session student
Staff = session staff
Locations = session location
Resources = session resource.
Notes that both locations and resources are types of assets
These are the items that can be associated with a session and their event record types :
Students - Session Student
Staff - Session Staff
Locations - Session Location
Resources - Session Resource
...
For example, in a session where there are 20 students, a teacher and a classroom, there will be 20 Session Student, 1 Session Staff and 1 Session Location event records required.
Note that both Locations and Resources are types of Assets.
Running Attendance Generation
Attendance generation can be executed either through the Generate Attendance button on the Session window…
...
or, more commonly through the nightly Generate Attendance Batch process that typically generates attendance event records for all sessions for a specific period in advance.
See the Generate Attendance Batch component documentation for further details.
Process
Regardless of the method used, the process is the same for each Session for which attendance is to be generated.
In the previous example of 20 students, a staff member and a location, these details are retrieved by looking at the cohort Cohort associated with the sessionSession. (via the cohort session Cohort Session object).
The 20 students are identified by the fact that they have cohort member Cohort Member records of record type = student Student linked to the cohortCohort. For each of these we create a session student Session Student event record is created and link it linked to the respective cohort member Cohort Member and sessionSession.
For staff location and resources Staff, Location and Resources it depends on whether the timetable is managed internally or not for that particular cohort. If it is managed externally (e.g. via Ed Val Daily), then the Publish daily data and publish daily Daily Data and Publish Daily Delta processes are responsible for associating each of the student staff and location event records with the session Session by creating the respective session staff and session location Session Staff and Session Location event records.
If the timetable is not managed externally, then the system looks at the cohort Cohort Schedule record associated with the session Session via the cohort session Cohort Session record and identifies any related cohort schedule connection Cohort Schedule Connection records. These records identify the staff locations and resources Staff, Locations and Resources to be associated with the corresponding sessionsSessions.
...
Once that has been done, event records of record types Session Staff, Session staff, session location and session resources Location and Session Resource will be created as a result.
Attendance generation can be executed either through the generate attendance button on the session window or, more commonly through the nightly generate attendance batch process that typically generates Attendance event records for all sessions for a specific period in advance.
See the Generate attendance batch component documentation for further details.
Once a session’s attendance details have been created they can be maintained to meet a variety of requirements. For example, if a session Session has a replacement teacher then the edit session Edit Session window will cause a new Session staff Staff record to be created for the replacing teacher and it will update the corresponding session staff Session Staff record for the teacher being replaced to reflect this.
...
So to the add student too, the Add Student button on the Mark roll Roll screen will create a session student Session Student record for that student in the particular session Session and automatically mark them as present.Recording 1698.wav
...