FunctionCopy link to clipboard
a!toRecordIdentifier( recordType, identifier )
Matches record IDs with their record type to return a value of type Record Identifier for each record ID passed to the function.
See also:
- Record Type
- Record Identifier
- Post Event to Feed Smart Service
- Post System Event to Feed Smart Service
ParametersCopy link to clipboard
Keyword | Type | Description |
---|---|---|
|
RecordType |
The record type that contains the record. |
|
Any Type Array |
Individual record IDs within the record type. |
ReturnsCopy link to clipboard
Record Identifier Array
Usage considerationsCopy link to clipboard
Record IDs for different source typesCopy link to clipboard
- For record types that use a database as the source, record ID is the primary key in the data store entity.
- For record types that use a web service as the source, record ID is the value returned to the ID field produced by the record's source expression.
- For record types that use a process model as the source, record ID is the ID for the process.
ExampleCopy link to clipboard
Record type object references are specific to each environment. If you copy and paste these examples into your interface, they will not evaluate. Use them as a references only.
a!toRecordIdentifier(recordType: recordType!Employee, identifier: {"536870111", "536870555"})
returns an array of two Record Identifier values with the first pointing to the first record in the identifiers
list and the second pointing to the second record.
Feature compatibilityCopy link to clipboard
The table below lists this function's compatibility with various features in Appian.
Feature | Compatibility | Note |
---|---|---|
Portals | Partially compatible | Can be used with Appian Portals if it is connected using an integration and web API. |
Offline Mobile | Partially compatible | Can be used with offline mobile if it is loaded at the top of the form. |
Sync-Time Custom Record Fields | Incompatible | |
Real-Time Custom Record Fields | Incompatible | Custom record fields that evaluate in real time must be configured using one or more Custom Field functions. |
Process Reports | Incompatible | Cannot be used to configure a process report. |
Process Events | Incompatible | Cannot be used to configure a process event node, such as a start event or timer event. |