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

Function

todocument( value )

Converts a value to Document.

Parameters

Keyword Type Description

value

Any Type

Value to convert.

Returns

Document

Usage considerations

Using the value parameter

The value parameter accepts Text, Integer, Decimal, and Array types.

Using todocument() with arrays

When operating on arrays, it is not necessary to use apply with todocument. If multiple parameters are passed, or one parameter is an Array, todocument will return a Document Array.

Examples

todocument(37) returns [Document:37]

todocument(37,38) and todocument({37,38}) both return {[Document:37],[Document:38]}

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Custom Record Field Expressions Incompatible
Process Reports Compatible
Process Events Compatible
Open in Github Built: Fri, Mar 22, 2024 (05:03:50 PM)

todocument() Function

FEEDBACK