Progress with Redwood: Redwood Resources for Oracle Cloud HCM - Go Here
new learning assignment alert: avoid null in the text
Hello everyone,
we have the following statement for the alert for a new Learning Offering assignment:
Dear employee,
You have been assigned to following offering: ${learningItemTitle}
<table border="1" width="100%"> <thead><tr><th>Title</th><th>date & time</th><th>location</th></tr></thead> <body> ${AlertUtils.loop('learnerLearningRecords,completionDetails','','<tr><td>${activityTitle}</td><td>${activityDate} ${activityStartTime} - ${activityEndTime}</td><td>${classrooms.classroomTitle[0]},<br>${classrooms.locationAddressLine1[0]},<br>${classrooms.locationCity[0]},${classrooms.locationZipCode[0]},<br>${classrooms.locationCountry[0]} </td></tr>')} <body> </table>
Previously we only had the alert for ILT Offerings. Now it should also apply to blended offerings. However, if we adjust this, the self-paced activities of the blended offering in the table will show "null". How can we rewrite this so that nothing is displayed here?