Free cookie consent management tool by TermsFeed

a!startsWith Function

On This Page

Function

a!startsWith( text, startsWithText )

Checks if a text value begins with a specified text value. For example: startsWith("apple","a") returns TRUE. This function is frequently used in validations.

See also: applyValidations()

Parameters

Keyword Type Description

text

Text

The text value that is checked to determine if it begins with the value of the startsWithText parameter.

startsWithText

Text

The case sensitive specified text value that is checked for at the beginning of the value of the text parameter.

Returns

Boolean

Example

Copy and paste an example into an Expression Editor to experiment with it.

1
2
3
4
a!startsWith(
  text: "Appian",
  startsWithText: "A"
)

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 Interfaces Partially compatible

Can be used with offline interfaces if loaded at the top of the interface.

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 Partially compatible

If autoscale is enabled, can be used to configure a supported process event node (such as a start event or timer event).

Process Autoscaling Compatible

Can be used in autoscaled processes.

Event Consumer Filter Conditions Compatible

Can be used in filter conditions.

Event Consumer Event Handlers Compatible

Can be used in event handler expressions.

Feedback