Hi,
As the title says, I'm trying to retrieve all fields of a record type and its related record types in a query using a!selectionFields.
a!selectionFields.
I have the following hierarchy
My problem now is, that using the following expression:
I get all fields that are directly related to Produktbeschreibung and Konzept, but not the data for the related record types under Konzept. I'm suspecting that selection fields cannot drill down more than one relationship at a time. If that is correct, is there any way, I could get the data for the nested ralationships in a way such that I can retrieve the full record?
Konzept
Discussion posts and replies are publicly visible
a!selectionFields() only works one level deep.Use a!relatedRecordData() for nested relationships.https://docs.appian.com/suite/help/25.4/fnc_system_relatedrecorddata.html
Thanks for the quick reply! Maybe I'm misunderstanding something here, but isn't a!relatedRecordData only applying sorts, limits, and filters, as opposed to just retrieving the related records?
I just realized that the issue was the record-level security I had configured. After ensuring that I actually could access the records, I was even able to use a!selectionFields to dig two levels down.
You are right.