LMS Behind The Scenes

The Inner Workings of Learning Classes

If you were to peek behind the curtains of Rock, you would discover that a Learning Class is essentially a specialized type of Group. What does this mean? For one, Students and Facilitators are simply a specific type of GroupMember. That means you can leverage many of Rock's features that work with groups and group members.

  • Learning Class ti ti-arrow-right Group
  • Learning Participant (Students, Facilitators) ti ti-arrow-right GroupMember

For example, you could use the Group Member Add From Attribute action in a Workflow to add students (or facilitators) into a class.

Warning

No SQL Please
Although a Learning Class is just a specialized Group under the hood, please don't write custom SQL that attempts to use/access these special tables. The link between LearningClass and Group, as well as LearningParticipant and GroupMember, is tightly managed in code. Querying or manipulating these connections outside of Rock's built-in tools could break expected behavior.

Background Jobs

Rock includes background jobs to handle various automated tasks related to the LMS.

  • Send Learning Activity Notifications: This job sends notifications to students for newly available activities.
  • Update Program Completions: This job updates learning program completion records for programs that track completion status.