Free cookie consent management tool by TermsFeed

a!customFieldLogicalExpression() Function

Function

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.

Parameters

Keyword Type Description

operator

Text

Determines how a set of conditions are evaluated. Valid values: "AND" and "OR".

conditions

Any Type

A list of a!customFieldLogicalExpression(), a!customFieldCondition(), or both. Alternatively, you can provide any custom field function or record field that returns a boolean. You can reference record fields or related record fields using the recordType! domain. You can also use fv!value to access the value parameter from a!customFieldMatch().

Usage considerations

Where to use this function

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:

  1. In your record type, go to Data Model.
  2. Click NEW CUSTOM RECORD FIELD.
  3. From SELECT A TEMPLATE, choose Write Your Own Expression.
  4. Choose Real-time evaluation.
  5. Click NEXT.
  6. 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.

  7. Click NEXT.
  8. Enter a Name for your custom record field.
  9. Click CREATE.
  10. Click SAVE CHANGES. The new custom record field appears in your list of fields.

Example

See the a!customFieldMatch() function for an example.

Feature compatibility

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.

Process Autoscaling Incompatible

Cannot be used in autoscaled processes

Feedback