FunctionCopy link to clipboard
todocument( value )
Converts a value to Document.
ParametersCopy link to clipboard
Keyword | Type | Description |
---|---|---|
|
Any Type |
Value to convert. |
ReturnsCopy link to clipboard
Document
Usage considerationsCopy link to clipboard
Using the value parameterCopy link to clipboard
The value parameter accepts Text, Integer, Decimal, and Array types.
Using todocument() with arraysCopy link to clipboard
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.
ExamplesCopy link to clipboard
todocument(37)
returns [Document:37]
todocument(37,38)
and todocument({37,38})
both return {[Document:37],[Document:38]}
Feature compatibilityCopy link to clipboard
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 | 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 | Compatible | |
Process Events | Compatible | |
Process Autoscaling | Compatible |
FeedbackCopy link to clipboard
Was this page helpful?