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
17 replies
Subscribers
7 subscribers
Views
3864 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Use Case:- We have created three custom group which are present in one group ty
vineeta6579
over 9 years ago
Use Case:- We have created three custom group which are present in one group type. I need to get list of all users present in my group type. I am able to get list of users but when I am trying to get attributes of users it throws below error.
"Invalid function user"
Please find attached report code..
Sail Report
OriginalPostID-143057
OriginalPostID-143057
Discussion posts and replies are publicly visible
Parents
0
Aleksi White
Appian Employee
over 9 years ago
The most recent errors I see in the logs have the following issue:
Caused by: com.appiancorp.suiteapi.common.exceptions.InvalidUserException: [InvalidUserException]
It looks like the user you are passing in is invalid. Are you storing the usernames as Text, or as User datatype?
Try wrapping the ri!username in the touser() function, which would give you
user(touser(ri!username), "firstName")
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Aleksi White
Appian Employee
over 9 years ago
The most recent errors I see in the logs have the following issue:
Caused by: com.appiancorp.suiteapi.common.exceptions.InvalidUserException: [InvalidUserException]
It looks like the user you are passing in is invalid. Are you storing the usernames as Text, or as User datatype?
Try wrapping the ri!username in the touser() function, which would give you
user(touser(ri!username), "firstName")
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data