Custom Alert - If Else Condition inside AlertUtils.Loop
Summary
Custom Alert - If Else Condition inside AlertUtils.LoopContent
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.
1