Free cookie consent management tool by TermsFeed

touser() Function

Function

touser( value )

Converts a value to User.

Parameters

Keyword Type Description

value

Any Type

Value to convert.

Returns

User

Usage considerations

The value parameter accepts User, Text, Binary, People, and Array types.

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

Examples

Convert a single value

1
touser("john.doe")

Returns john.doe.

Convert a list of values

1
touser("john.doe","jane.doe")

and

1
touser({"john.doe","jane.doe"})

Both return {john.doe, jane.doe}.

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

Can be used with offline mobile if it is loaded at the top of the form.

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

Feedback