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

# Update Task

> Change fields of each new task automatically.

**Update Task** changes fields of the task that started the automation. Use it to fill in or correct values as soon as a task is created: set a fixed value, or copy one field into another.

Available for: **On Task Created** only.

> [!NOTE]
>
> Required permission:
>
> * View automation
> * Create automation

## Automation detail

![Update Task detail](https://mintcdn.com/mile-app/JlYib2YfcGFk65pR/images/v4/workflow/automation/action-update-task.png?fit=max\&auto=format\&n=JlYib2YfcGFk65pR\&q=85\&s=db11ac5529793d184c36b0c9119e4985)

1. **Task Data**: every field of the automation's own flow. For each field you want to change, type a fixed value or click the search icon to copy a field, exactly as in [Create Task](https://docsy3.mile.app/pages/workflow/automation/actions/create-task.md#filling-a-field).

Only the fields you fill in are changed. Fields left empty keep the value the task already has.

## Examples

| Scenario | Rule | Field | Value |
| - | - | - | - |
| Flag VIP orders | Customer Name = Toko Maju Jaya | Priority | High (fixed) |
| Copy an address | none | Delivery Address | Customer Address (copied) |
| Default a status | none | Delivery Status | Waiting (fixed) |

## Troubleshooting

**Fields don't change.** Check that the automation is **Active**, its flow matches, the rules don't exclude the task, and the field has a value in **Task Data**. Then look at the [log](https://docsy3.mile.app/pages/workflow/automation/log.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.