FM_AutoEnrollmentImporter

Summary

The automatic enrollment importer watches a specified directory for *.csv files.

For each one, it tries to parse it as a list of enrollment details

Configuration

It is configured via a "Directory to Monitor" application setting

Behavior

It supports the following case-insensitive column headers (as provided by BulkEnrollmentManager):

Input

Required

  • One of:
    • username
    • A different column named after the detail field set as the unique identifier override
  • One of:
    • organization
    • organization_id (aka "Organization Id")
  • One of:
    • course_code (aka "Course Code") - the course's default structure's default curriculum will be used.
    • structure_code (aka "Structure Code") - the structure's default curriculum will be used.
    • curriculum_id (aka "Curriculum Id")

Optional

  • is_active (aka "Is Active")
  • inactive_at (aka "Inactive At")
  • enrolled_at (aka "Enrolled At")
  • is_complete (aka "Is Complete")
  • completed_at (aka "Completed At")
  • is_passed (aka "Is Passed")
  • is_failed (aka "Is Failed")
  • visits
  • grade
  • notes
  • any enrollment detail fields available in the affected user's organization

Notes

It does not generate any newly met certificates.

It can be run manually outside the daily cron by using the run.php file.