You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to make Alert working if one of the attributes is returning Null value?

Question
3
Views
0
Comments

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?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!