a!automationId( automationTypes )
Returns the automation identifier for the automation type provided. Use this function to write the automation identifier for record events.
See also: a!automationType()
Keyword | Type | Description |
---|---|---|
|
List of Text |
The text or list of text to convert to an automation identifier. Valid values include: |
List of Number (Integer)
Use a!automationId()
to write the automation identifier for the type of automation that completed an event in a Write Records node.
If you use the guided experience in the Setup tab and choose an automation type from a dropdown, Appian will automatically write the identifier for the selected automation type.
If you use an expression to specify the automation type, write the automation identifier for the automation type you want to specify. You cannot write the automation type directly, like RPA or AI.
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 |
1
a!automationId("RPA")
Returns {2}
.
1
if(pv!isError, a!automationId("NONE"), a!automationId("RPA"))
Returns {1}
if RPA failed to complete the event and a user completed the event instead. Otherwise, returns {2}
. In this example, pv!isError
is a process variable that tracks whether RPA successfully completed a task.
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. |
a!automationId Function