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
9 subscribers
Views
3665 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Having problems with usernames. This really comes down to data source
adamm
over 10 years ago
Having problems with usernames.
This really comes down to data sources that are inconsistent in the upper/lower case of the usernames, say the Appian people tab definition of the user has the username "Username" but the data source we are getting a name from tells us it is "username".
We are trying to post a feed, or post to a feed, with the viewer/author using the "username" version. we get the error:
There is a problem with task “Post Closed Loan Feed” in the process “......”.
One or more users and/or groups specified for the Viewers input field does
not exist. Usernames: username. The system event was not sent.
the closest I can get to an easy simulation of the problem is using an expression rule:
working: user("Userame", "email")
failing: user("username", "email")
which we can not use as a test, as it does not return a null, or some other value, but totally fails:
Expression evaluation error at function 'us...
OriginalPostID-112110
OriginalPostID-112110
Discussion posts and replies are publicly visible
Parents
0
prernas
over 10 years ago
isusernametaken("Username") returns true whereas isusernametaken("username") returns false. This is mis-leading because when we try adding "username" as user, it would throw an exception. How to handle this?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
prernas
over 10 years ago
isusernametaken("Username") returns true whereas isusernametaken("username") returns false. This is mis-leading because when we try adding "username" as user, it would throw an exception. How to handle this?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data