Free cookie consent management tool by TermsFeed tostring() Function
tostring() Function


tostring( value )

Converts a value to Text. If an array is passed in, its values will be concatenated to form one string. To preserve the original array structure, use touniformstring.

See also: touniformstring()


Keyword Type Description


Any Type

Value to convert.



Usage considerations

Arguments after the first are ignored.

Values that hold a Number (Decimal) data type are displayed using 7 digits of precision, when cast to a string of plain text.

This function returns a null Text when passed a null value.

Usage considerations

Do not use apply with tostring; use touniformstring() instead.


tostring(17) returns "17"

tostring({1,2,3}) returns "1, 2, 3" (note that this is a single Text, not an Array of Text)

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Sync-Time Custom Record Fields Compatible

Can be used to create a custom record field that only evaluates at sync time.

Real-Time Custom Record Fields Incompatible
Process Reports Compatible
Process Events Compatible
Open in Github Built: Thu, Jun 13, 2024 (04:56:33 PM)

tostring() Function