If conditions in Alerts Composer
Content
Hi all,
we are currenty struggling with "If conditions" in the Alerts Composer:
We would like to set an Alert, which shows certain conditions only for offerings which are instructor-led. These expressions should not be displayed if the offering is an selfpaced offering.
This is our if-condition:
<% if (learnerLearningRecords.otherSelectedCourseOfferings.completionDetails.activityDate =='ORA_ONSITE_IL') {%> instructor-led <%} else { %> self-paced <%} %>
We wanted to achieve, that the systems gives us the word "instrucor-led", when it's an offering with an instructor and "self-paced", if there is no instructor.
In the result the word "self-paced" is always shown, even if it's an instrucor-led activity.