The record type [identifier=SYSTEM_RECORD_TYPE_USER] cannot be queried

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

Parents Reply Children
No Data