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
18 replies
Subscribers
8 subscribers
Views
5856 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
We need a solution to grab the new email address of the user. Currently it is pi
sudhirp804
over 9 years ago
We need a solution to grab the new email address of the user. Currently it is picking old email address of the user example abc@myworld.com and it should pick or the grab the new email address like abc@myworldwide.com
Currently in our process model we pick email address from process variable which picks the old email address. What we required some expression which will grab the new email address of the user.
Could anyone let me know how it can be done. I have created a new expression rule which will search the user the firstname and lastname and pick the email address but only picking the old email address here. We need to pick/grab the other email address of the user like if user old email is abc@myworld.com than it should pick the new email address abc@myworldwide.com
=rule!prmFormatUserAsEmailAddress()
=if(and(not(rule!APN_isEmpty(ri!user)),isusernametaken(ri!user)),user(touser(ri!user),"firstName") & " " & user(touser(ri!user),"lastName"),"NA")
...
OriginalPostID-145386
OriginalPostID-145386
Discussion posts and replies are publicly visible
Parents
0
janakik
over 9 years ago
Two ways for resolving your issue,
1. All the users should update their domain of email id, then your code would pick updated email id.
2. My other suggestion would be using toemailaddress(substitute(user(touser(ri!user),"email),"world","worldwide.com")), this function would return emailid with new domain
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
janakik
over 9 years ago
Two ways for resolving your issue,
1. All the users should update their domain of email id, then your code would pick updated email id.
2. My other suggestion would be using toemailaddress(substitute(user(touser(ri!user),"email),"world","worldwide.com")), this function would return emailid with new domain
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data