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

If conditions in Alerts Composer

Received Response
123
Views
3
Comments
edited Mar 25, 2020 12:28PM in Learning 3 comments

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.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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