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')};

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading...Loading...

Disclaimer: As with everything else at NetIQ Cool Solutions, this content is definitely not supported by NetIQ, so Customer Support will not be able to help you if it has any adverse effect on your environment.  It just worked for at least one person, and perhaps it will be useful for you too.  Be sure to test in a non-production environment.

Leave a Reply

No Comments
Jun 27, 2007
8:09 am
Reads:
1,182
Score:
Unrated