System interrogation functions

Following are brief descriptions of the functions that return data from the local environment. For more detailed information about a specific function (such as usage and syntax), click the function name.

Function What it does

systemtime()

Returns the server's current time.

userid()

Returns the name of the user logged on to the system.

ENCODED_CURRENT_USERID

Returns a string containing an "@" symbol followed by a function call that returns a system-defined number that identifies the user to whom the work item is bound.

userid()

This function returns a string with the name of the user currently logged on to the system. If no user is logged on, the function returns an empty string ("").

Use the following syntax:

userid()

ENCODED_CURRENT_USERID

Returns a string containing an "@" symbol followed by a function call that returns a system-defined number that identifies the user to whom the work item is bound. The @ID corresponds to the ID of the F_BoundUser. F_BoundUser can only be used on a post assignment of a single participant step. In the case of a multi-participant step, the value can be 0, a random participant, or one of the step participants.

Usage

@+numbertostring(F_BoundUser)

See Expression Builder for more information about using @ID to specify a workflow participant.