> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/administration-and-setup/workflow/cards-overview/and/assignee/single-assigned-user-condition.md).

# Single Assigned User Condition

<figure><img src="https://578966019-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FT2n2w4uDCJvv7CJ5zrdk%2Fuploads%2Fgit-blob-7a589f659f927dbe8fcad8ca67aac831ce44a1b4%2Fworkflow_card_condition_user_is_isnot_v2.png?alt=media" alt="Workflow card Assignee: Assigned user Operator User, version 2" width="634"><figcaption><p>Version 2</p></figcaption></figure>

**Purpose**

This workflow card facilitates operations based on the assignment of a task or document to a single, specific user. Using a direct conditional logic approach, it manages workflows that require targeted user engagement, ensuring precision in user-based task handling.

**Components of the Card**

1. **Operator**
   * **Description**: Specifies the logic to apply to the user assignment.
   * **Options**:
     * **IS**: Triggers the operation if the assigned user of the document or task matches the specified user.
     * **IS NOT**: Triggers the operation if the assigned user does not match the specified user.
2. **User**
   * **Description**: Allows selection of a single user against whom the assigned user will be compared.
   * **Detail**: This involves a simple dropdown or autocomplete field where one user can be selected at a time.

**Functionality**

* **User Assignment Identification**: Identifies the user currently assigned to a specific task or document.
* **Condition Evaluation**:
  * For the **IS** operator, the card checks if the assigned user is the same as the user selected.
  * For the **IS NOT** operator, it verifies that the assigned user is different from the selected user.
* **Action Execution**:
  * **True Condition**: If the assignment meets the set condition (IS or IS NOT), it triggers predefined actions, which could include moving forward with approvals, initiating further tasks, sending notifications, or other related workflows.
  * **False Condition**: If the condition is not met, the workflow will not continue.

**User Interactions**

* **Setup and Configuration**: Users set up the card by choosing an operator and selecting a user from the user field. This setup should be straightforward, ensuring easy user selection and configuration.
* **Monitoring and Reporting**: Offers tools for monitoring the card’s performance, such as tracking which tasks are triggered by specific user assignments and the outcomes of these triggers.
* **Error Handling and Notifications**: Provides mechanisms to alert users if tasks are incorrectly assigned or if operational errors occur due to assignment issues.

#### Conclusion

The "Single Assigned User Condition" workflow card is essential for precise, user-specific document and task management within an ERP system. It simplifies workflows by focusing on individual user assignments, thus ensuring that actions are only executed when appropriate, based on the user's role and responsibilities. Documenting this card clearly will assist users in understanding its application, allowing them to implement and manage it effectively within their daily operations. This documentation ensures that all potential users can easily grasp the card's purpose and integrate it seamlessly into their workflows.

## Practical example

**When to use:** Handle the queue of one particular reviewer.

**Configuration:** Select the equals operator and `Demo Reviewer A`.

**Expected result and counterexample:** A document assigned to that user passes; another assigned user fails.

This is an illustrative configuration and expected outcome. Use fields, users and groups configured in your test organization; it is not a claim that this example was executed.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docbits.com/administration-and-setup/workflow/cards-overview/and/assignee/single-assigned-user-condition.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
