Article
Problem
How do you get rid of the e-mail notification "Variablenames" ($Variable$) on e-mail, if attibute that is about to be mapped is empty?
Solution
Mapping the following code on the e-mail notitfication field will print "-" instead of $Variable$. Also, the value of eDirAttr will be printed if it has a value.
if((IDVault.get(recipient,'user','eDirAttr')).length<1){'-'};
else
{IDVault.get(recipient,'user','eDirAttr')};
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.
Related Articles
User Comments
- Be the first to comment! To leave a comment you need to Login or Register
- 2823 reads


0