For more information, please refer to this announcement explaining best practices for getting answers to questions.
How to make Alert working if one of the attributes is returning Null value?
Summary:
We have created a Resource Alert for Learners for enrollments. However, if one of the attributes (e.g. Classroom) is returning "null", alert goes to an error. We have tried to use AlertUtils.nullIf statement but it does not help. How to fix this issue?
Content (required):
Alerts for Instructor-Lead Trainings where we do not have all the attributes (e.g. Classroom) filled are going to an error. We have tried to use AlertUtils.nullIf statement but it does not help.
${AlertUtils.nullIf(learnerLearningRecords.selectedCourseOfferings[0].offeringPrimaryClassroom[0].classroomTitle, 'TBD')}
We are still getting error about missing Classroom title.
Has anybody faced the same issue? Do we have any possibilities to solve this?