# Deputy - Search resources action

This action searches for resources matching your search condition in your Deputy instance. Supported resources are:

  • EmployeeAgreement
  • EmployeeWorkplace
  • TrainingRecord

Search resources action Search resources action

# Input fields

Resource type
The type of resource to be retrieved.
Search parameters
The available fields for search will be based on the resource type selected above. Note that each additional field will be treated as an `AND` query. The supported search operations are listed below.

# Supported search operations

The complete list of available search operations is as follows. Note that the applicable list varies depending on the type of the fields added into the search condition.

  • eq: Equal
  • gt: Greater than
  • ge: Greater than or equal
  • lt: Less than
  • le: Less than or equal
  • lk: Like (Can put in % characters to match to a pattern)
  • nk: Not like
  • ne: not equal to
  • in: In a given set of array values
  • nn: Not in a given set of array values
  • is: Is something other than 0 or NULL
  • ns: Not something. Meaning either 0 or NULL

# Output

The output of this action is a list of datatree that contains information about the matching resources object.


Last updated: 8/30/2022, 3:07:30 AM