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
3 replies
Subscribers
7 subscribers
Views
1270 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hello, I would like to know if it's possible to construct a query
thanosm
over 8 years ago
Hello,
I would like to know if it's possible to construct a queryEntity to retrieve data by joining tables.
The case is that the main Entity that is being queried has IDs as values for fields and their description is on a different table, for which we have entities.
OriginalPostID-153616
OriginalPostID-153616
Discussion posts and replies are publicly visible
Parents
0
Mike James
Certified Lead Developer
over 8 years ago
Exactly this...the queryEntity() function only allows access a single entity so any joins that you need to perform have to be managed in that datatype.
Alternately, and substantially less elegantly :-), you could use the queryEntity() to get your first data set with all the ID's and then run another to get all the fields from your second table and the marry them together into a single dataset myabe using something similar to the approach outlined in this recipe:
forum.appian.com/.../SAIL_Recipes.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Mike James
Certified Lead Developer
over 8 years ago
Exactly this...the queryEntity() function only allows access a single entity so any joins that you need to perform have to be managed in that datatype.
Alternately, and substantially less elegantly :-), you could use the queryEntity() to get your first data set with all the ID's and then run another to get all the fields from your second table and the marry them together into a single dataset myabe using something similar to the approach outlined in this recipe:
forum.appian.com/.../SAIL_Recipes.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data