Free cookie consent management tool by TermsFeed

touser() Function

On This Page

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 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 Compatible
Process Events Compatible

Can be used to configure a process event node, such as a start event or timer event.

Process Autoscaling Compatible

Can be used in autoscaled processes.

Event Consumer Filter Conditions Incompatible

Cannot be used in filter conditions.

Event Consumer Event Handlers Compatible

Can be used in event handler expressions.

Feedback