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
5 replies
Subscribers
6 subscribers
Views
3082 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I have a process model that has the user's name in a text field. I want to
helmuta
over 11 years ago
I have a process model that has the user's name in a text field. I want to send this user an email given certain conditions. I have everything working but the user name is not resolving to a valid email address. I have created a variable of type user and I am using it as the to field in my email. I am trying to use the function touser to convert the text name of the user to a user so that I can email this person.
So far no luck. Any thoughts or ideas on what I can try? As usual I am looking for my best Appian resource (The Forum) to help me resolve my issues. Thank you in advance....
OriginalPostID-86092
OriginalPostID-86092
Discussion posts and replies are publicly visible
0
Mike Cichy
Appian Employee
over 11 years ago
Is this user an Appian user? If so you can extract their email address from their profile and make sure you convert it to email address type: toemailaddress(user(pv!username, "email"))
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
helmuta
over 11 years ago
Yes, the user has an account but the only thing that I have is their name not their username in test format. For example John Doe (userid 123456). I will give your suggestion a try. Thank you!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
helmuta
over 11 years ago
No luck. The problem I am having is that the name is a string first name last name and it does not equate to the username. Is there a way to look up the username given a text string?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Cichy
Appian Employee
over 11 years ago
You need to change your design to utilize a username. You can always get additional details from the user profile based on the username.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 11 years ago
@helmuta, How about trying this? username can be retrieved by using User search expression based on the first name and/ or last name values you have.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel