> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jinba.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Creating Tasks

> How to create new tasks

## Creating New Tasks

You can create new tasks from the Task Management screen.

## Task Creation Steps

<Steps>
  <Step title="Open Task Management Screen">
    Select "Tasks" from the side menu.
  </Step>

  <Step title="Click 'New' Button">
    Click the "New" button at the top of the screen.
  </Step>

  <Step title="Enter Task Settings">
    Enter the required information on the task creation screen.
  </Step>

  <Step title="Save">
    Click "Save as Draft" or "Set Schedule".
  </Step>
</Steps>

## Task Settings

### Specifying the Agent

Select the agent to execute for the task.

<Steps>
  <Step title="Click Agent Selection Field">
    Click the "Select Agent" dropdown.
  </Step>

  <Step title="Select Agent">
    Select the agent to use from the list. Published agents are displayed.
  </Step>
</Steps>

<Note>
  When you select an agent, its description and the connectors it uses are displayed.
</Note>

### Task Name

Enter a name to identify the task.

```
Example: Weekly Sales Report Creation
Example: Daily Sales Aggregation
Example: Month-end Inventory Check
```

<Tip>
  Using descriptive names makes it easier to manage tasks in the list.
</Tip>

### Initial Input

Enter the message to send to the agent first. When the task executes, this message is sent to the agent.

```
Example: Please aggregate this week's deal data and create a weekly report.
Example: Please analyze yesterday's sales data and report any anomalies.
Example: Please create a list of products with inventory below 10 units.
```

<Note>
  Include specific instructions needed for the agent to process in the initial input.
</Note>

### Execution Time

Set the date and time to execute the task.

Execution time settings are explained in detail in [Scheduled Execution](/en/pages/jinba_app/tasks/schedule-execution).

## Save Options

There are two ways to save tasks:

### Save as Draft

If you want to set the schedule later, click "Save as Draft".

* The task is saved in "Draft" state
* You can set the schedule later
* For more details, see [Draft Management](/en/pages/jinba_app/tasks/draft-management)

### Save with Schedule

If you want to specify the execution time and save, set the execution time first then click "Set Schedule".

* The task is saved in "Scheduled" state
* It will be automatically executed at the specified time
* For more details, see [Scheduled Execution](/en/pages/jinba_app/tasks/schedule-execution)

## Input Validation

When creating a task, the following validations are performed:

| Field          | Validation                                          |
| -------------- | --------------------------------------------------- |
| Agent          | Is one selected?                                    |
| Task Name      | Is it entered?                                      |
| Initial Input  | Is it entered?                                      |
| Execution Time | When saving with schedule, is it a valid date/time? |

If there are validation errors, error messages are displayed.

## Troubleshooting

<AccordionGroup>
  <Accordion title="Cannot select agent">
    * Only published agents can be selected
    * Check the publication status in the agent list
  </Accordion>

  <Accordion title="Save fails">
    * Verify all required fields are filled in
    * Check your network connection
  </Accordion>
</AccordionGroup>
