# Assign Sequentially to Groups

## **Purpose**

The "**Assign the Document Sequentially to the Groups**" workflow card enables the sequential assignment of documents to one or more selected groups. The priority value determines the order of assignment, with lower numbers representing higher priority.

## **Components of the Card**

1. **Group**
   * **Description**: Specifies the groups that will receive the document assignment.
   * **Detail**: A dropdown menu where one or multiple groups can be selected for document assignment.
2. **Priority (Value)**
   * **Description**: A numeric input field where the priority level for the groups can be set.
   * **Detail**: Lower numbers signify higher priority, ensuring that documents are assigned to groups in ascending order of priority.

## **Functionality**

* **Document Assignment**:\
  The card assigns documents sequentially to the selected groups based on their priority values.\
  If multiple groups share the same priority, documents are assigned in the order the groups were selected.

## **Setup and Configuration**

1. Add the **Assign the Document Sequentially** card to your workflow.
2. Configure the **Group** field:
   * Select one or multiple groups from the dropdown menu.
3. Configure the **Priority (Value)** field:
   * Enter a numeric value to set the assignment priority.
4. Save and activate the workflow to apply the configuration.

## **Conclusion**

The "Assign the Document Sequentially to Groups" workflow card ensures efficient document allocation to one or more groups based on priority. This feature supports flexible and organized document processing across multiple teams or departments.


---

# Agent Instructions: 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://docs.docbits.com/administration-and-setup/workflow/then/assignee/assign-sequentially-to-groups.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.
