Task https://marinelsrippleops.atlassian.net/browse/SUCO-598 adds course link attributes which are used for notification rules to enable/disable certain notifications on a per course level. In order for the notification rules to work we would need to add below link attributes to ALL courses of an organization. Unfortunately, there is no automatic mechanism which would do that so we need to add the 4 course link attributes manually whenever a course is created.
...
Code Block |
---|
addLinkAttribute [coursePath] System.Customer.Notification.SendOn.CertificatePreExpiry True
addLinkAttribute [coursePath] System.Customer.Notification.SendOn.CertificateExpiry True
addLinkAttribute [coursePath] System.Customer.Notification.SendOn.StudentRegistration True
addLinkAttribute [coursePath] System.Customer.Notification.SendOn.StudentDeRegistration True
addLinkAttribute [coursePath] System.Customer.Notification.SendOn.RegistrationCompleted True |
Enable/Disable Notifications for a Course
...
Category: Certificate, SubCategory: CertificatePreExpiry
Category: Certificate, SubCategory: CertificateExpiry
Categort: Registration, SubCategory: StudentRegistration
Category: Registration, SubCategory: StudentDeRegistration
Category: Registration, SubCategory: RegistrationCompleted
In order to stop sending certain notifications for a course, just set the corresponding course link attribute value(s) to False. Set the value(s) to True to enable the notifications.
...