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
1 reply
Subscribers
8 subscribers
Views
3188 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hello: How do I cast a list of User to a list of UserOrGroup?
marky
over 10 years ago
Hello:
How do I cast a list of User to a list of UserOrGroup?
I receive the following error when trying to create a blank UserOrGroup using the following expression rule:
=cast(typeof(type!UserOrGroup())+1, {})
Error message is:
Expression evaluation error at function 'type!{
www.appian.com/.../2009}UserOrGroup':
Invalid type for type constructor: User or Group...
OriginalPostID-119026
OriginalPostID-119026
Discussion posts and replies are publicly visible
Parents
0
Jin Pheh
Certified Associate Developer
over 10 years ago
This is one of those Appian-isms that is frustrating. Depending on where you are appian refers to 'User or Group' objects as either 'User or Group' or as 'People'
This is what you want: toPeople(null())
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Jin Pheh
Certified Associate Developer
over 10 years ago
This is one of those Appian-isms that is frustrating. Depending on where you are appian refers to 'User or Group' objects as either 'User or Group' or as 'People'
This is what you want: toPeople(null())
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data