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
1763 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I'm receiving an email from another system to kick start a process to create
mjmallet
over 8 years ago
I'm receiving an email from another system to kick start a process to create the user in BPM.
In that email I get the manager's full name (in text). I want to associate the full name to the username in BPM. I tried using the getusersby("variable",4,2) and that returns null. I created an expression rule to test it and if I search by last name only it works.
Maybe I'm not doing it right?
OriginalPostID-162700
OriginalPostID-162700
Discussion posts and replies are publicly visible
0
pritamd
over 8 years ago
Hope this helps:
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mjmallet
over 8 years ago
Thanks I read thru that already.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
hrishikeshd
over 8 years ago
if you are receiving full name, break it using split function with space as the operator.
Then use the first element in that array to compare it with recordType = 1, which is firstName.
your expression should be like -- getusersby(split("Full Name"," ")[1],1, 1)
getusersby("variable",4,2) means you are checking value "variable" to be a part of username which may or may not be the case.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mjmallet
over 8 years ago
Thank you! This works! :)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel