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 for Oracle Cloud HCM   Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.

For more information, please refer to this announcement explaining best practices for getting answers to questions.

Custom Alert - If Else Condition inside AlertUtils.Loop

edited Sep 2, 2020 2:40PM in Learning 13 comments

Summary

Custom Alert - If Else Condition inside AlertUtils.Loop

Content

Hello All,

We have a requirement to display only ILT activity details in training enrollment notification.

Using " ${AlertUtils.loop('completionDetails','<tr><td>${activityTitle}</td><td>${AlertUtils.formatDate(activityDate,\'dd-MMM-yyyy\')}</td><td> ${activityStartTime}</td> <td>${activityEndTime}</td><td>Add to Calendar</td></tr>')} " it displays Evaluation as well.

Can we put a condition within loop to exclude the Evaluation data. 

Also, is there any way to mark data blank in case data is not available. Right now, mentioned loop returns NULL value as text for Activity Date, Start Time, End Time - for Evaluation row.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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