FunctionCopy link to clipboard
a!customFieldLogicalExpression( operator, conditions )
Used in the whenTrue parameter of a!customFieldMatch(), this function allows you to group multiple logical conditions using the "AND"
and "OR"
operators.
ParametersCopy link to clipboard
Keyword | Type | Description |
---|---|---|
|
Text |
Determines how a set of conditions are evaluated. Valid values: |
|
Any Type |
A list of |
Usage considerationsCopy link to clipboard
Where to use this functionCopy link to clipboard
The a!customFieldLogicalExpression()
function can only be used to create a custom record field that evaluates in real time. This means you can reference related record fields, constants, and other supported functions in your calculations.
To create a custom record field that evaluates in real-time:
- In your record type, go to Data Model.
- Click NEW CUSTOM RECORD FIELD.
- From SELECT A TEMPLATE, choose Write Your Own Expression.
- Choose Real-time evaluation.
- Click NEXT.
-
Enter an expression using any Custom Field function.
Note: Custom record fields that evaluate in real-time must use at least one Custom Field function.
- Click NEXT.
- Enter a Name for your custom record field.
- Click CREATE.
- Click SAVE CHANGES. The new custom record field appears in your list of fields.
ExampleCopy link to clipboard
See the a!customFieldMatch() function for an example.
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 | Incompatible | |
Sync-Time Custom Record Fields | Incompatible | |
Real-Time Custom Record Fields | Compatible | Can only be used to create a custom record field that evaluates in real time. It cannot be used anywhere else in your application. |
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. |