> For the complete documentation index, see [llms.txt](https://developer.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.collibra.com/workflows/designing-workflows/forms/form-components/user.md).

# User

The **User** component adds a drop-down list that allows users to select existing users. You can configure the component to allow either a single selection or multiple selections. To narrow down the choices, you can provide a **Proposed values** list, which restricts the drop-down to only those specific users.

For single selection components, the class of the stored value is String, representing the ID of the selected item.

For multiple selection components, the class of the stored value is ArrayList, representing a comma-separated list of the IDs of the selected items.

## General properties

| Property      | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ID            | The identifier of the component, primarily used for client-side interactions and identification in the HTML structure of the form. When you add a component, an ID is automatically generated to ensure it is unique in the form.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| Label         | Text that appears above the form component in Collibra, briefly describing its purpose. This is the main title or question for the field.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| Label tooltip | <p>Additional help or information about the field. If defined, a question mark icon appears after the label, showing the tooltip when users hover their pointer over the icon.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>The tooltip supports plain text only.</p></div>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| Documentation | A text field for internal design notes or future reference about this specific component. This information is not visible in Collibra.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| Value         | <p>The name of the variable that stores the data entered into this field in Collibra. Use a variable name enclosed in double curly braces, for example <code>{{variableName}}</code>. Since this is a process variable, you can then use it throughout your workflow processes, such as in scripts, other forms, or service tasks.</p><p>You can also specify where the variable is saved:</p><ul><li><code>{{variableName}}</code> or <code>{{self.variableName}}</code>: Stores the value as a process variable in the current workflow.</li><li><code>{{parent.variableName}}</code>: Stores the value in a variable that belongs to the immediate parent process of the current workflow.</li><li><code>{{root.variableName}}</code>: Stores the value in a variable that belongs to the root process, which is the top-level workflow that started the current one.</li></ul> |
| Default value | <p>The pre-filled value for the component when the form first appears. A filed shows the default value if the <strong>Value</strong> property does not set a value explicitly.</p><p>For multiple selection components, enter the value as an expression representing an Array of Strings, for example <code>{{\["0196e800-e612-700b-8ca6-8c1248845e51","018f3e1f-5e16-7798-9fb9-5b4e6ce10751"]}}</code>.</p>                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |

## Datasource properties

Datasource properties are common to the components that accept a list of items or options.

| Property             | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| -------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Storage              | <p>Specifies how the component variable stores the input data:</p><ul><li><strong>ID</strong>: The variable stores the selected value or comma-separated list of selected values.</li><li><strong>Full value</strong>: The variable stores a Map or list of maps for multiple selection components. The value represents the full selection, containing both the text and value elements, such as <code>\[text:text1, value:value1]</code>. This makes it possible to display other values of the selected element within the form as well.</li></ul><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>Storing the full value could lead to variables full of unnecessary information.</p></div>                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| Multi value          | <p>Whether the input allows for multiple selections.</p><div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p>When you design a form with multiple selection components that are intended to be visible one at a time and configured to write to the same variable, ensure that the hidden component is also ignored to avoid conflicts that lead to errors. To achieve this, use a negated version of the <strong>Visible</strong> condition for the <strong>Ignored</strong> rendering property. You can negate an expression by prepending <code>!</code> to it. For example, if the <strong>Visible</strong> condition is <code>{{visible}}</code>, set the <strong>Ignored</strong> condition to <code>{{!visible}}</code>.</p></div>                                                                                                                                                                                                                                                                                                                                                                                                                          |
| Proposed values      | <p>A set of proposed values shown at the top of the list in Collibra.</p><p>Enter the values as an expression representing an Array of Strings corresponding to the IDs of the resources, for example <code>{{\["0196e800-e612-700b-8ca6-8c1248845e51","018f3e1f-5e16-7798-9fb9-5b4e6ce10751"]}}</code>.</p><p>Collibra automatically adjusts the list of suggested values based on the resources you provide:</p><ul><li>If some IDs are incorrect or the resources do not exist, the component shows the remaining valid values at the top of the list.</li><li>If none of the proposed resources exist, the component shows no suggested options but displays the full list of resources.</li><li>If <strong>Proposed values only</strong> is active and none of the proposed resources exist, the component shows an empty list.</li></ul><p>To account for this adaptive display behavior, double check during testing that all expected values are shown as intended.</p><div data-gb-custom-block data-tag="hint" data-style="warning" class="hint hint-warning"><p>Collibra guarantees optimal performance for up to 1,000 values. Performance might decline with larger volumes.</p></div> |
| Proposed values only | Whether the selection is restricted to just the options defined in the **Proposed values** list.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |

## Validation properties

| Attribute          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Required           | Whether the component must have a value for the form to be submitted.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| Custom validations | <p>A list of additional validations for the component. Each custom validation consists of two parts:</p><ul><li><strong>Expression</strong>: A rule that must evaluate to <code>true</code> for the form to be submitted.</li><li><strong>Error message</strong>: The message that shows if the expression evaluates to <code>false</code>.</li></ul><p>For example, you can create a validation with the expression <code>{{experience>2}}</code>. This expression evaluates to <code>true</code> only if the value of the <code>experience</code> variable is greater than 2.</p> |

## Rendering properties

| Property    | Description                                                                                                                                                                                                                                                                           |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Ignored     | Whether the component is be hidden in the form and any value it might hold is not included in the submission data.                                                                                                                                                                    |
| Visible     | Whether the component is shown or hidden on the form. You can controlled this unconditionally or through an expression. For example, you can set an expression that hides or shows the component based on a user selection in another component. This property is enabled by default. |
| Enabled     | Whether the component is interactive or read-only on the form. When disabled, users cannot change the component value. This property is enabled by default.                                                                                                                           |
| Description | Additional information shown in Collibra below the form field, providing detailed instructions, examples, or essential guidance.                                                                                                                                                      |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.collibra.com/workflows/designing-workflows/forms/form-components/user.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
