Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
4 replies
Subscribers
7 subscribers
Views
1768 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Any reason why user(username,"email") will work sometimes, and i
foussenik
over 11 years ago
Any reason why user(username,"email") will work sometimes, and it does not work sometimes?
In my process I am using that expression to get user email, but expression is not consistent, work few times, then throws exception in some cases....
OriginalPostID-108867
OriginalPostID-108867
Discussion posts and replies are publicly visible
0
Bishnu Panigrahi
Appian Employee
over 11 years ago
Are you sure that a username is always populated in your variable when you call the user() function? Also, are you sure that every username is associated with an email address?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
foussenik
over 11 years ago
user name is populated, and get exception nested exception is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <username>... User unknown
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Stefan Helzle
A Score Level 3
over 11 years ago
We sometimes have the problem that some new users do not get properly propagated to all exec engines. The checkengine script can check for this and also fix it. Maybe you give it a try.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 11 years ago
If the error you are seeing when you believe the user(username,"email") function is not working is:
com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 <username>... User unknown
then this is not an issue with the expression or with Appian. An exception of type"SMTPAddressFailedException User unknown" is generated by the mail server itself.
Please contact your Mail Server administrator and verify if the server isn't permitting sending on to other domains, most likely the addresses that are causing the error are outside the permitted domain configured in the mail server; nothing to troubleshoot at the Appian level but at the mail server level with you administrator.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel