If condition in alert only returning else — Cloud Customer Connect
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
Get Started with Redwood: Oracle Cloud SCM and Purchasing

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} <%}%>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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