What is the main difference between a!queryRecordType, a!queryRecordByIdentifier and a!recordData. When to use a particular one?
Discussion posts and replies are publicly visible
Is this a trick question? I mean, the Appian documentation clearly explains the differences.
Hi Radhika ,Everything returns the same but differs in very few parameters and used similarly sometimes.1. a!queryRecordType( recordType, fields, filters, pagingInfo, fetchTotalCount, relatedRecordData ) : Executes a query on a given record type and returns the result.2. a!queryRecordByIdentifier( recordType, identifier, fields, relatedRecordData ) : Executes a query on a given record identifier and returns the record data.3. a!recordData( recordType, filters, relatedRecordData, fields ) : Used mostly in Read-Only Grids, Charts, or selection components that uses a record type as the source.I would specifically suggest you to go through documentation (added links for the functions above) and usage considerations for each function!Hope this helps you!!!
hi Radhika You can go through these links query record typequery record by identifierrecord data