Skip to main content
The DEPTNAME function retrieves the department information of a specified user based on their user ID.

Supported Scenarios

The DEPTNAME function is supported in the following YiDA scenarios:
  • Form (main table fields)
  • Form (business association rules)
  • Form (validation)
  • Workflow design (validation rules)
  • Workflow design (associated actions)

Format

Attribute Description

Return Value

Example

As shown in the figure below, use the DEPTNAME() and LOGINUSERWORKNO() functions to retrieve the department name of the currently signed-in employee.