Objective is to display the firstName of all active users.
a!queryRecordType( recordType: 'recordType!{SYSTEM_RECORD_TYPE_USER}User', fields: 'recordType!{SYSTEM_RECORD_TYPE_USER}User.fields.{firstName}firstName', filters: a!queryFilter( field: 'recordType!{SYSTEM_RECORD_TYPE_USER}User.fields.{active}active', operator: "=", value: true ), pagingInfo: a!pagingInfo(startIndex: 1, batchSize: 500)).data
ref {user() Function - Appian 23.2}
throwing below error
Expression evaluation error at function a!queryRecordType: The record type [identifier=SYSTEM_RECORD_TYPE_USER] cannot be queried because it is a service-backed record type.
Discussion posts and replies are publicly visible
I had the same issue, but I was pulling the object list from the application specific Appian Designer as opposed to searching for the User Record type from the all applications Appian Designer. All is now working.