Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The use case and business explanation is at the bottom of the page which provides some context. To set up the feature for a customer follow the below instructions:

TLDR

  1. Add System.Customer.DueSoonDurationDefault page attribute to the Org page.

  2. Create course offering (NOTE - doing this after step 1 ensures the new Course Offering gets the Certificate and DueSoonDuration for the MCW label.

  3. PauseAutomaticRequiredByRuleProcessing

  4. AddRequiredByRule [coursePath] [filterExpression] [baseDateFunction] [durationFunction] e.g. AddRequiredByRule /Root/Fug/StrongPasswords/ HasActiveRegistration() RegistrationDate() DurationFromOffering()

  5. ReEvaluateRequiredByRulesByCoursePathMatch (-logOnly, -debug) (-overrideRequiredByDateSetManually) [string: startPath] [string: terminalElement] [batchSize: optional, default Core.OfferingRuleEvaluatorBatchSize] e.g ReEvaluateRequiredByRulesByCoursePathMatch /Root/Fug/StrongPasswords ""

  6. ContinueAutomaticRequiredByRuleProcessing

Due Soon Intervals

Firstly you need to make sure the the default duration intervals for due soon email notifications and labels in the My Courses Widget is applied. Add System.Customer.DueSoonDurationDefault page attribute to the Org page.

...

You will also need to run SetDueSoonIntervalsForOffering to create the Due Soon intervals for your existing offering. NOTE - this command only sets the intervals for the due soon labels and notification. It does not set any Required By dates on registrations.

You can use the command SetExpectedDurationForOffering [coursePath] [offeringShortId] [expectedDuration] to update the expected during of an existing offering.

e.g. SetDueSoonIntervalsForOffering /Root/Carnival/CCL/Compliance/HandleComplaints/ HandleComplaints 7

...