Function: a!recordActionItem()
Displays a record action defined within a record action field. A record action is an end-user action configured within a record type object, such as a related action or a record list action.
See also: Record Action Field
Name | Keyword | Types | Description |
---|---|---|---|
Action |
|
Record Action Reference |
A record action reference associated with a record type, configured using the |
Identifier |
|
Any Type |
Individual record ID within the record type. Only required for related actions. - For record types that use a database as a data source, record ID is the primary key in the data store entity. - For record types that use a process as the data source, record ID is the ID for the process. - For record types that use a web service as the data source, record ID is the value returned to the ID field of the DataSubset produced by the record's source expression. |
When you configure a record action, follow the guidance below to ensure the record action displays in the component where it is referenced.
fv!identifier
as the identifier to call the selected row ID for a related action. Make sure the grid has values for the Selection parameters properly set up, including the selectable, selectionValue, and selectionSaveInto parameters.Record actions are specific to record types within your environment. If you copy and paste this example into the Expression editor, it will not evaluate in your Test Rules interface. Use it only as a reference.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
=a!recordActionField(
actions: {
a!recordActionItem(
/* For the "action" parameter below, replace the record-action reference
* (recordType!Department.actions.create) with a valid record-action reference in your environment.
*/
action: recordType!Department.actions.create
),
a!recordActionItem(
/* For the "action" parameter below, replace the record-action reference
* (recordType!Department.actions.update) with a valid record-action reference in your environment.
*/
action: recordType!Department.actions.update,
identifier: rv!identifier
)
}
)
Displays the following:
The following patterns include usage of the Record Action Item.