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
3 replies
Subscribers
7 subscribers
Views
1973 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I am using a e-mail trigger event to pick up an e-mail from a user. This user i
bjartek
over 11 years ago
I am using a e-mail trigger event to pick up an e-mail from a user. This user is also an Appian user. How can I match this e-mail to this specific Appian user within a process?
Thanks
Bjarte Karlsen ...
OriginalPostID-100927
OriginalPostID-100927
Discussion posts and replies are publicly visible
0
David Williams
over 11 years ago
As long as your capturing the to / from / subject etc you can then use that to lookup the user against a database table which is my preference. I am not sure if you can lookup user properties by email address using any of the Appian functions, someone else might know if that is possible.
I use this to lookup the to part of the email to assign the email to a certain team based on a process name / group id configuration.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jesse.triplett
Appian Employee
over 11 years ago
Assuming all your users are in a group (such as an All Users group or a smaller group), you could run a statement in a script task like wherecontains(ri!emailFromTrigger,apply(user(_,"email"),getdistinctusers(topeople(cons!AllUsersGroup))).
This would return the index, so then a statement like index(getdistinctusers(topeople(cons!AllUsersGroup)),IndexFromAbove) would return the user
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
bjartek
over 11 years ago
Great! Thanks both of you!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel