/
Load Historical Registrations and Certificates (in progress)

Load Historical Registrations and Certificates (in progress)

An introduction to historical registrations can be found at https://rippleops.atlassian.net/wiki/spaces/CMD/pages/5432382902. This document contains the workflow to load historical registrations and their corresponding certificates.

 

Setup and Execution

Assuming the course already has completion rules and certificate rules.

Before loading any historical registrations it is recommended to disable automatic registration rule processing to avoid potential re-registration due to missing certificates for the historical registration.

Commands to pause/continue/check status of the automatic registration rule processing

  • PauseAutomaticOfferingRuleProcessing

  • getOfferingRuleStatus

  • ContinueAutomaticOfferingRuleProcessing

Courses Load historical registrations for a course with completion rules, certificate rules and a certificate w/ expiry

addCertificateRule /Root/Fug/GasTesting RegistrationSuccessful():MintraCert3Y
ReEvaluateCertificateRulesForLatestCompletedRegistration /Root/Fug/GasTesting 500

ReEvaluateOfferingRulesByCoursePathMatch Registration /Root/Fug GasTesting -batchSize 500

Load historical registrations for a course with completion rules, certificate rules, and a certificate w/o expiry

addCertificateRule /Root/Fug/ConductingAppraisals RegistrationSuccessful():MintraCertNoExpiry
ReEvaluateCertificateRulesForLatestSuccessfulRegistrationForPath /Root/Fug/ConductingAppraisals -batchSize:500

ReEvaluateOfferingRulesByCoursePathMatch Registration /Root/Fug ConductingAppraisals -batchSize 500

 

Commands to award certificate to historical/completed registrations:
It depends on which type of certificate the course has - certificate w/ expiry or a certificate w/o expiry.

Use ReEvaluateCertificateRulesForLatestCompletedRegistration if the course has a certificate w/ expiry
Use ReEvaluateCertificateRulesForLatestSuccessfulRegistrationForPath if the course has a certificate w/o expiry

You would get an error if you don’t use the proper command.

 

 

 

 

Related articles