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

Custom Alert - If Else Condition inside AlertUtils.Loop

Received Response
153
Views
12
Comments
edited Sep 2, 2020 2:40PM in Learning 12 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!