Docs »

Automations »

interaction.worker »

Elements »

Chooser

(Added in 10.5)

In interaction web forms, a chooser element displays a search popup for selecting records.



start:
  await:
    form:
      title: Chooser
      elements:
        chooser/prompt_chooser:
          label: Choose records:
          record_type: worker
          query@text: isDisabled:n
          multiple@bool: yes
          required@bool: yes
  await/response:
    form:
      elements:
        say:
          content@text:
            You selected record IDs: {{prompt_chooser|join(', ')}}


Syntax

label:

The optional label to display above the form element.

record_type:

The record type to choose from.

query:

The optional search query for filtering the search worklist.

multiple:

If yes then multiple records may be selected at once. The default is no for single selection.

required@bool:

If user input is required on this element use a value of yes. Otherwise, omit.