If condition in alert only returning else
Summary:
We have a costume alert that alrealdy works fine for voluntary atibutions, but the costumer wanted this alert to send a link to the couse only for online offers but it does not show the link in the e-mail. I also tried adding an else to the expresion and it does show the else condition in the e-mail
Does anyone knows whats is happening or what is the correct expression?
We tried using the expression :
<% if(offeringDeliveryMode == 'ORA_SP') {%> Link: ${learnerLearningRecords.assignmentDetailsDeepLink} <%} %>
and
<% if( (learnerLearningRecords.primarySelectedCourseOffering.offeringDeliveryMode) == 'ORA_SP') {%> Link: ${learnerLearningRecords.assignmentDetailsDeepLink} <%}%>