runtimetypeof() Function

Returns the numerical representation of an Appian system data type when used during process execution. It performs in the same manner as the typeof() function except for union types such as User or Group where it returns either the User or Group type number in non-null cases.

Syntax

runtimetypeof( value )

value (Any type) The value to be inquired for type.

Returns

Integer

Examples

typename(runtimetypeof(topeople(123))) returns Group

if(runtimetypeof(topeople(loggedInUser())) = type!User, "You're a User", "You're a Group") returns You're a User

Open in Github Built: Fri, Nov 04, 2022 (07:10:52 PM)

On This Page

FEEDBACK