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
10 subscribers
Views
3866 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
I was wondering if it is possible to create a single records from two different
bonniet
over 10 years ago
I was wondering if it is possible to create a single records from two different sources, for example one process and an entity. Say for example I have a process that creates performance assessments and I want a record that can display the active assessments and the completed assessments as simply assessments. Both would display the same information but one would be coming from an active process and the other from the data store that we are writing the completed assessments to? Is this even possible and if so can someone point me in the direction of how it would be done?
OriginalPostID-139843
OriginalPostID-139843
Discussion posts and replies are publicly visible
Parents
0
Stewart Burchell
Appian Employee
over 10 years ago
This sounds like a "federation" pattern...taking two (or more) data sources and generating a single Record list. You can do this by creating a single Service-Backed Record and within the underlying expression (and nested expressions) retrieve the data from the two separate sources, format them into the same CDT type (using the type! constructor) and then performing a union of the two result sets.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Stewart Burchell
Appian Employee
over 10 years ago
This sounds like a "federation" pattern...taking two (or more) data sources and generating a single Record list. You can do this by creating a single Service-Backed Record and within the underlying expression (and nested expressions) retrieve the data from the two separate sources, format them into the same CDT type (using the type! constructor) and then performing a union of the two result sets.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data