For more information, please refer to this announcement explaining best practices for getting answers to questions.
Custom Alert with Offering Details
Summary:
We are trying to include Offering details within the template on an alert to notify a learner when they are moved from Waitlisted to Confirmed (i.e. Not Started). The alert doesn't generate a notification when the offering information is included i.e.
${AlertUtils.write('<div style ="text-align: left,"><table border="1"><tbody><tr><th>Learning Item Title</th><th>Offering Start Date</th><th>Assigner Name</th><th>Link to Learning Item</th><th>Add to Calendar Link</th></tr>')}
${AlertUtils.loop('learnerLearningRecords','<tr><td>${learnerLearningRecords.primarySelectedCourseOffering[0].learningItemTitle}</td> <td>${AlertUtils.formatDate(learnerLearningRecords.primarySelectedCourseOffering[0].offeringStartDate,\'dd-MMM-yyyy\')}</td><td>${assignerDisplayName}</td><td>Click <a ${href}="${learnerLearningRecords.assignmentDetailsDeepLink}">here</a> to start the learning</td><td>Open Oracle then click <a ${href}="${learnerLearningRecords.completionDetails[0].addToCalendarLink}">here</a> to download calendar invite.</td></tr>')}${AlertUtils.write('</tbody></table></div>')}