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

Learning Custom Alert expression language

edited Jul 10, 2019 1:13PM in Learning 5 comments

Summary

How to change null value to blanks?

Content

Hi,

We have included Due Date: ${DueDate} in our learning custom alert template. Sometimes, the due date is not populated, and it then appears in the message as Due Date: null
Our learners don't quite understand this, so I would like to change null to blanks (or N/A). I found in an EL white paper, that it is possible to use conditional logic and the If-Then-Else syntax is: #{[test] ? [then1] : [else2]}.
I tried #{${DueDate} eq null ? '' : ${DueDate}} but that doesn't work. Does anyone know the correct syntax?

Version

19B
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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