Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

AttendancePolicy

Represents the rules that define how attendance is captured, interpreted, and determined in an institution's academic environment. This object is available in API version 68.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

Field Details
ApplicableLevel
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Specifies the level of academic offering that the policy applies to.
Possible values are:
  • Course
  • Department
  • Grade Level
  • Institution
  • Program
  • Section
AttendanceModel
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
Specifies the attendance tracking model used by the policy.
Possible values are:
  • Daily
  • Period
  • Session
ChronicAbsenceThreshold
Type
percent
Properties
Create, Filter, Nillable, Sort, Update
Description
The percentage of absences at which a student is considered chronically absent.
Comments
Type
textarea
Properties
Create, Nillable, Update
Description
The comments that are associated with the attendance policy.
CorrectionWindow
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The number of hours after an attendance recording is submitted during which corrections are allowed.
DefaultAttendanceCodeId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The default code set that's related to the attendance policy.
This field is a relationship field.
Relationship Name
DefaultAttendanceCode
Relationship Type
Lookup
Refers To
CodeSet
EarlyDepartureThresholdMinutes
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The number of minutes before the end of a session when a departure is classified as early.
IsActive
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether the attendance policy is active (true) or not (false).
The default value is false.
IsAdminOverrideAllowed
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether an admin can override recorded attendance (true) or not (false).
The default value is false.
IsClerkOverrideAllowed
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether a clerk can override recorded attendance (true) or not (false).
The default value is false.
IsCorrectionAllowed
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether attendance records can be corrected (true) or not (false).
The default value is false.
IsRemoteAttendanceCounted
Type
boolean
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
Indicates whether remote attendance counts as present (true) or not (false).
The default value is false.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferencedDate is not null, the user accessed this record or list view indirectly.
MinimumConfidenceThreshold
Type
percent
Properties
Create, Filter, Nillable, Sort, Update
Description
The minimum confidence score required for an automated attendance signal to be accepted without manual review.
Name
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
The name of the attendance policy.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The user who is the owner of this record.
This field is a polymorphic relationship field.
Relationship Name
Owner
Refers To
Group, User
SubmissionMode
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
Specifies the method used to submit attendance.
Possible values are:
  • Exception Based
  • Full Roster
TardyThresholdMinutes
Type
int
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The number of minutes past the start of a session when a late arrival is classified as tardy.

Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

AttendancePolicyChangeEvent
Change events are available for the object.
AttendancePolicyFeed
Feed tracking is available for the object.
AttendancePolicyHistory
History is available for tracked fields of the object.
AttendancePolicyShare
Sharing is available for the object.