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
6 replies
Subscribers
8 subscribers
Views
2490 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I have observed unexpected behavior for isusernametaken function. When we pass a
chetany
A Score Level 1
over 9 years ago
I have observed unexpected behavior for isusernametaken function. When we pass an empty string to it, it returns true.
As per my understanding this should not be the case. isusernametaken should return true for only the users which exist (activated/deactivated) in the system. This was observed on Appian 7.11
fn!isusernametaken("") - true
OriginalPostID-205763
OriginalPostID-205763
Discussion posts and replies are publicly visible
Parents
0
Nick Vigilante
Appian Employee
over 9 years ago
The behavior is unexpected. It should not return true when passed a null string. I have logged this to our product team for further investigation. The previous suggestions to work around this are great suggestions, so for the time being, I would consider following those.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Nick Vigilante
Appian Employee
over 9 years ago
The behavior is unexpected. It should not return true when passed a null string. I have logged this to our product team for further investigation. The previous suggestions to work around this are great suggestions, so for the time being, I would consider following those.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data