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
8 replies
Subscribers
7 subscribers
Views
2317 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Does a!queryEntity() returns the entity type I am querying to the database? For
erickp
over 8 years ago
Does a!queryEntity() returns the entity type I am querying to the database? For instance, if on the entity parameter of the queryEntity() function I pass a Student type, will it return a Student?
OriginalPostID-174764
OriginalPostID-174764
Discussion posts and replies are publicly visible
Parents
0
Tim
Certified Lead Developer
over 8 years ago
From what I recall the data element returned from queryEntity() is a list of variant so not strongly typed, you do need to be mindful of this if using dot notations on an empty result.
In your expression can you explain why you are using ri!student for the array attribute of your applyComponents() rather than local!datasubset.totalCount?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Tim
Certified Lead Developer
over 8 years ago
From what I recall the data element returned from queryEntity() is a list of variant so not strongly typed, you do need to be mindful of this if using dot notations on an empty result.
In your expression can you explain why you are using ri!student for the array attribute of your applyComponents() rather than local!datasubset.totalCount?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data