Hello,
when a record type has a (1,n) relation, Appian supports some aggration for those related records ( 'Create Custom Record Field' --> 'AGGREGATE RELATED RECORD FIELDS').
The avaible aggregation functions seem to be dependend on the data type of the 'AGGREGATE RELATED RECORD FIELDS' - in any case, I'm looking for something like FIRST_OF (LAST_OF) so that I can get the first record field(s) of related data records (which are string based).
Maybe a small example: (Author) <-- (Books) (an author can have many books)
Should be presented in a list
What would be a good way to achieve this?
Thank you in advance
Thomas
Discussion posts and replies are publicly visible
Did you try this?
https://docs.appian.com/suite/help/22.3/fnc_system_relatedrecorddata.html
Hi Stefan,
I've read the documentation and it looks promising - as of now I'm on a loss where to apply this from within the 'Record Type' GUI (and 'New Custom Record Field).
(I'm able to get part of this working from within a 'Expression Rule' though)
I am not sure whether this works in a custom record field. But give it a try and post an update.
I did not succeed in getting this to work in a custom record field:
Maybe I did not yet get the syntax right though...
Custom record fields are made for a pretty narrow range of typical use cases and might not cover yours. But you can always go the way and implement your own query and show that in a grid.