All pages
Powered by GitBook
1 of 1

Properties

Use to select one option from a list that is populated from the result of an LDAP query.

Configuration

Name
Desciption
Default value
Mandatory

type

Must be ActiveDirectorySelectOneValue

N/A

config.required

Must have a value when leaving the step. true/false

false

config.readonly

Open to edit by enduser. true/false

false

config.base_dn

Search base DN

config.scope

Search scope

config.attributes

Query these attributes

config.pre_filter

Display current value if present

config.filter

Query filter

config.display_key

This attribute is displayed to the user

config.value_key

This attribute is the selected value.

{
  "id": "selectedManager",
  "type": "ActiveDirectorySingleSelect",
  "config": {
    "attributes": [
      "displayName",
      "sAMAccountName"
    ],
    "base_dn": "OU=Product_Testing,DC=company,DC=local",
    "scope": "SUB",
    "pre_filter": "(distinguishedName={{flow.manager}})",
    "filter": "(&(|(givenName={{search_query}})(sn={{search_query}}))(!(sAMAccountName={{flow.selectedUser}})))",
    "display_key": "cn",
    "value_key": "distinguishedName"
 }
}

Search filter

The search filter is a template that has access to all data that is available in the flow. Additionally, the template can use the parameter search_query, that contains the user input.

The attributes defined by display_key and value_key are always queried.