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.


runtimetypeof( value )

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




You can experiment with this function in the test box below.

Test Input

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 12, 2021 (02:39:05 PM)

On This Page