Custom Resource Notification for ILT Registration
We have a custom resource notification for ILT registration and we are trying to include the activity start time, I have tried lots of different expressions but the notification just keeps erroring. Is anyone able to suggest an expression that works please?
Expressions tried:
Offering Title: ${learnerLearningRecords.primarySelectedCourseOffering.learningItemTitle}
${foreach offering in learnerLearningRecords.selectedCourseOfferings}
${foreach activity in offering.activities}
Offering Time: ${AlertUtils.formatDate(activity.activityStartTime, 'HH:mm')}
${end}
${end}
Offering Title: ${learnerLearningRecords.primarySelectedCourseOffering.learningItemTitle}** Offering Date: **${AlertUtils.formatDate(learnerLearningRecords.primarySelectedCourseOffering.offeringStartDate,'dd-MMM-yyyy')}
${foreach activity in learnerLearningRecords.selectedCourseOfferings.activities} Offering Time: ${AlertUtils.formatDate(activity.activityStartTime, 'HH:mm')}
${end}
${AlertUtils.formatDate(learnerLearningRecords.selectedCourseOfferings[0].activities[0].activityStartTime, 'HH:mm')}