Skip navigation FileNet logo
Glossary  |  Help Directory  
  Help for Process Engine Reference  
  Search  |  Index  
Concepts
Events & Statistics
Expressions
  Data types
  Variables
  Literals
  Operators
  Functions
    General
    Numeric
    String
    Time
    System interrogation
    Null
    Datatype conversion
    Date/time mask components
    Implicit conversion
Procedures
   

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.

username()

Returns the name of the user at the current step.

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 ("").

  • For Workplace, userid() returns the name of the user currently logged on to Workplace.
  • For FileNet Web Services Client and Open Client, userid() returns the three-part name of the user currently logged on from the local machine (server or client.)

Use the following syntax:

userid()

username()

This function returns a string containing an "@" symbol followed by a system-defined number that identifies the user to whom the work item is bound. The string "@0" indicates that the work item is not bound.

Use the following syntax:

username()