> 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/assigned-group-condition.md).

# Assigned Group Condition

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

**Purpose:**

This workflow card executes operations based on whether a task or document is assigned to a particular group or set of groups. It utilizes conditional logic to either trigger or prevent specific actions depending on the group assignment, making it ideal for workflows that require group-specific handling.

**Components of the Card:**

1. **Operator**
   * **Description:** Defines the logical condition to apply to the group assignment.
   * **Options:**
     * **IS:** Triggers the operation if the assigned group of the document or task matches one of the groups in the specified list.
     * **IS NOT:** Triggers the operation if the assigned group of the document or task does not match any of the groups in the specified list.
2. **Groups List**
   * **Description:** A list or selection of groups to compare against the assigned group.
   * **Detail:** This list can include one or multiple groups, allowing the card to handle both singular and multiple group conditions effectively.

**Functionality:**

* **Group Assignment Identification:** Automatically identifies the group or groups assigned to a particular task or document within the system.
* **Condition Evaluation:**
  * Using the **IS** operator, the card checks if the assigned group is one of the groups listed in the Groups List.
  * Using the **IS NOT** operator, the card ensures the assigned group is not part of the groups listed.
* **Action Execution:**
  * **True Condition:** If the group assignment meets the condition (either **IS** or **IS NOT**), relevant actions are triggered, such as notifications, task initiations, approvals, or other workflow steps.
  * **False Condition:** If the condition is not met, the workflow will not continue.

**User Interactions:**

* **Setup and Configuration:**&#x55;sers configure the card by selecting an operator and specifying the relevant groups from the Groups List. Setup should be user-friendly and intuitive to accommodate selections from potentially large group bases.
* **Monitoring and Reporting:**\
  The system should provide functionality to monitor and report on the operations triggered by this card, offering insights into assignment accuracy and process efficiency.
* **Error Handling and Notifications:**\
  Users should have options to receive alerts or notifications if there are issues with the assignments, such as unassigned tasks or errors in group selection.

**Conclusion:**\
The "Assigned Group Condition" workflow card is essential for managing document and task workflows that depend on group assignments. By allowing conditions based on whether a task or document is assigned to specific groups, it ensures that workflows are only triggered by appropriate group interactions, improving accountability and task management across teams.

## Practical example

**When to use:** Apply the same rule to two review teams.

**Configuration:** Select is-one-of and the configured groups `Demo Finance` and `Demo Procurement`.

**Expected result and counterexample:** A document assigned to either selected group passes. A document assigned only to `Demo Support` 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/assigned-group-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.
