FunctionCopy link to clipboard
a!automationType( automationIds )
Returns the automation type for the automation identifier provided, translated according to the user’s language preferences.
See also: a!automationId()
ParametersCopy link to clipboard
Keyword | Type | Description |
---|---|---|
|
List of Number (Integer) |
The number (integer) or list of number (integer) to convert to an automation type. Valid values include: |
ReturnsCopy link to clipboard
List of Text
Usage considerationsCopy link to clipboard
Use a!automationType()
to display the automation type for the given automation identifier. The automation type represents the automation that completed a record event.
You can use a!automationType()
wherever you want to display the name for the automation type, like a chart or the details parameter of the event history list component. The automation type is automatically translated according to the user's language preferences.
The following table lists the each automation type and its corresponding identifier:
Automation Type | Identifier |
---|---|
"NONE" |
1 |
"RPA" |
2 |
"AI" |
3 |
"INTEGRATION" |
4 |
"OTHER" |
5 |
ExamplesCopy link to clipboard
Retrieving an event automation typeCopy link to clipboard
1
a!automationType(1)
Copy
Returns {"None (User)"}
.
Displaying automation types in an event history listCopy link to clipboard
You could use the following expression in the details parameter of the a!eventData() function to display the automation type that completed an an order.
1
2
3
4
5
if(
isNullOrEmpty(recordType!Order Event History.fields.user),
a!automationType(recordType!Order Event History.fields.automationId) & " completed this order."
{}
)
Copy
If the event was completed by robotic process automation, for example, this returns RPA completed this order.
Feature compatibilityCopy link to clipboard
The table below lists this function's compatibility with various features in Appian.
Feature | Compatibility | Note |
---|---|---|
Portals | Incompatible | |
Offline Mobile | Incompatible | |
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. |
Process Autoscaling | Compatible |