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
Group where it returns either the
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.
if(runtimetypeof(topeople(loggedInUser())) = type!User, "You're a User", "You're a Group") returns
You're a User