# Create a New Task and assign it to Procurement Group

<figure><img src="/files/3zDEQxhVYb7E1JCBikhS" alt="" width="563"><figcaption></figcaption></figure>

## **Purpose:**

The **"Create Task for Procurement Group"** workflow card creates a new task dynamically assigned to the procurement group specified in the configuration. This task can be assigned with different priority levels, and an optional email notification can be sent to inform the group about the task. This card ensures that the right team is alerted based on workflow conditions.

## **Components of the Card:**

1. **Title**
   * **Description:** Specifies the title of the task.
   * **Detail:** This field identifies the task being created, providing a concise title for easy identification.
2. **Description**
   * **Description:** Provides further details about the task.
   * **Detail:** This field is used to describe the task’s objective and any necessary context or instructions.
3. **Priority**
   * **Description:** Defines the urgency of the task.
   * **Options:**
     * **High:** Task requires immediate attention.
     * **Medium:** Task is important but not urgent.
     * **Low:** Task can be handled at a later time.
4. **Group Name**
   * **Description:** Specifies the procurement group to whom the task will be assigned.
   * **Detail:** This field designates the procurement group responsible for the task. It ensures the task is directed to the right team.
5. **Email Notification**
   * **Description:** Configures whether an email notification should be sent to the assigned procurement group.
   * **Options:**
     * **True:** Sends an email notification to the procurement group.
     * **False:** No email notification is sent.

## **Functionality:**

* **Condition Evaluation:**\
  The card only executes its action if both the **"Where"** and **"And Sections"** evaluate as true.
* **Task Creation:**\
  The card creates a new task, assigning it to the procurement group defined in the "Group Name" field. This task will include the specified title, description, and priority level.
* **Email Notification:**\
  If the email notification option is set to true, an email is sent to the procurement group informing them about the task.

## **Setup and Configuration:**

* **Define Task Details:**\
  Enter the task's title, description, and priority level.
* **Select Procurement Group:**\
  Choose the procurement group that will be responsible for the task.
* **Enable Email Notification:**\
  Specify whether an email notification should be sent to the group upon task creation.

## **Conclusion:**

The "Create Task for Procurement Group" workflow card ensures that tasks are automatically assigned to the appropriate procurement group with defined priorities. This card can also notify the group via email to ensure tasks are attended to promptly, improving workflow efficiency and task management.


---

# 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/task/create-a-new-task-and-assign-it-to-procurement-group.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.
