Use dynamic functions

Use the following to select all the login IDs from a department to make a list:

select("name","operator","department",[$dept])

Use the following to select all the approvers for a certain group:

select("approvers","cm3groups","name",[$cm3group])

Related concepts

Dynamic View Dependencies
Field comparisons
Field value matching
Dynamic functions

Related tasks

Use field comparisons
Use field value matching