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

# Move Task

## Overview

The **Move Task** automation type automatically moves tasks to a different hub when an automation event is triggered. This enables automatic task routing based on workflow requirements, ensuring tasks are organized in the correct hub for operational efficiency.

<div align="center">
  <img src="https://mintcdn.com/mileapp-c1584fbc/4H9lAcsjws4DxYqw/images/move-task-automation-type.png?fit=max&auto=format&n=4H9lAcsjws4DxYqw&q=85&s=e6ede901282bea90ec17320e3f70585b" alt="Move Task automation configuration" width="600" data-path="images/move-task-automation-type.png" />

  <p><i>Move Task automation configuration showing Hub destination field</i></p>
</div>

## When to Use Move Task

Use this automation type when you need to:

* Automatically route tasks to appropriate hubs based on workflow stages
* Move tasks between regional or departmental hubs
* Organize tasks by location or operational area automatically
* Implement multi-stage workflows where tasks progress through different hubs

## Event Availability

Move Task automation type is **only available** for:

* **On Task Created** - Automatically move tasks to a different hub when they are created

## Configuration Fields

When you select Move Task as the automation type, you must configure one required field:

### Hub \*

Select the destination hub where the task will be moved.

**Purpose:**

* Defines the target hub for task relocation
* Ensures tasks are organized in the correct operational area
* Enables automatic routing based on workflow requirements

**How it works:**

* When automation triggers, the task will be immediately moved to the selected hub
* The task will appear in the destination hub's task list
* Users with access to the destination hub will be able to view and manage the task
* The original hub assignment is replaced with the new hub

## Use Cases

### 1. Regional Task Distribution

**Scenario:** Automatically route tasks to regional hubs based on delivery location.

**Configuration:**

* **Event:** On Task Created
* **Flow:** Delivery
* **Automation Type:** Move Task
* **Hub:** Jakarta Hub
* **Rules:** Add conditions to filter tasks by region (e.g., address contains "Jakarta")

**Benefit:** Tasks are automatically organized by region without manual intervention.

### 2. Department-Based Routing

**Scenario:** Move tasks to specialized department hubs for processing.

**Configuration:**

* **Event:** On Task Created
* **Flow:** Service Request
* **Automation Type:** Move Task
* **Hub:** Technical Support Hub
* **Rules:** Filter by service type or priority level

**Benefit:** Specialized teams receive tasks in their dedicated hub automatically.

### 3. Multi-Stage Workflow Progression

**Scenario:** Progress tasks through different operational stages by moving between hubs.

**Configuration:**

* **Event:** On Task Created
* **Flow:** Quality Inspection
* **Automation Type:** Move Task
* **Hub:** QA Hub
* **Rules:** Filter tasks that require quality checks

**Benefit:** Tasks automatically route to the next workflow stage hub.

### 4. Hub Consolidation

**Scenario:** Consolidate tasks from multiple sources into a central processing hub.

**Configuration:**

* **Event:** On Task Created
* **Flow:** Multiple flows
* **Automation Type:** Move Task
* **Hub:** Central Hub
* **Rules:** Apply to all tasks from specific flows

**Benefit:** Centralized task management and processing in one hub.

## How It Works

1. **Event Occurs:** A task is created that matches the Flow specified in automation
2. **Rules Evaluated:** If Rules are configured, they are checked against the task
3. **Automation Triggers:** The Move Task automation is activated
4. **Task Relocated:** Task is automatically moved to the specified destination hub
5. **Hub Updated:** Task appears in the destination hub's task list
6. **Access Control:** Users with access to the destination hub can now manage the task

## Important Notes

### Task Movement Behavior

* **Immediate Movement:** Tasks are moved as soon as they are created
* **Hub Replacement:** The original hub assignment is replaced, not duplicated
* **Access Control:** Only users with access to the destination hub can view the task after movement
* **No Task Duplication:** The task is moved, not copied
* **Assignment Preservation:** If the task was assigned to a user, the assignment is preserved if the user has access to the destination hub

### Hub Access Requirements

* The destination hub must be active and accessible
* Users need appropriate permissions to view tasks in the destination hub
* If assigned user doesn't have access to destination hub, assignment may be affected

## Best Practices

1. **Clear Hub Selection:** Ensure the destination hub matches the intended operational area or workflow stage.

2. **Use Rules for Precision:** Combine with automation Rules to move only specific tasks that meet certain criteria (location, priority, type).

3. **Test Movement Logic:** Create test tasks to verify automation moves tasks to the correct hub.

4. **Consider User Access:** Ensure users who need to work on moved tasks have access to the destination hub.

5. **Monitor Movement Logs:** Regularly review automation logs to ensure tasks are being moved correctly.

6. **Document Hub Structure:** Maintain clear documentation of what each hub represents and when tasks should be moved there.

7. **Avoid Circular Movements:** Don't create automation rules that could cause tasks to be moved in a loop.

8. **Coordinate with Assignment:** If tasks need to be assigned to specific users, ensure those users have access to the destination hub.

## Troubleshooting

**Issue:** Task is not being moved when created

**Possible Causes:**

* Automation is not set to Active
* Task's Flow does not match automation's Flow configuration
* Rules in automation exclude the task
* Destination hub is inactive or deleted

**Solution:**

* Verify automation toggle is ON
* Check Flow settings match task being created
* Review automation Rules for conflicts
* Confirm destination hub exists and is active

**Issue:** Task disappeared after automation triggered

**Possible Causes:**

* Task was moved to a hub you don't have access to
* Hub filter on task list is hiding the moved task

**Solution:**

* Check destination hub in automation configuration
* Request access to destination hub if needed
* Clear hub filters on task list to see all tasks
* Review automation logs to confirm movement

**Issue:** Assigned user can no longer see task after movement

**Possible Causes:**

* Assigned user doesn't have access to destination hub
* Hub-based access control is restricting visibility

**Solution:**

* Grant assigned user access to destination hub
* Reassign task to user with appropriate hub access
* Review hub access permissions in user management

## Related Documentation

* [Automation Events - On Task Created](/pages/automation/automation-event/on-task-created)
* [Assign Task](/pages/automation/automation-type/assign-task)
* [Create Task](/pages/automation/automation-type/create-task)
* [Automation Introduction](/pages/automation/introduction-to-automation)
* [Hub Management](/pages/setting/hub-management)

## Frequently Asked Questions

**Q: Can I move tasks to multiple hubs with one automation?**

A: No, each Move Task automation moves tasks to one specific hub. To move tasks to different hubs based on different criteria, create multiple automation rules with different Rules configurations.

**Q: What happens if the destination hub is deleted after automation is created?**

A: The automation will fail to move tasks if the destination hub no longer exists. Update the automation to select a valid destination hub.

**Q: Can Move Task be used with events other than On Task Created?**

A: No, Move Task is only available for On Task Created event. For other events, consider using other automation types or API-based integrations.

**Q: Does moving a task change its task ID or other properties?**

A: No, only the hub assignment changes. The task ID, creation date, assigned user, and all other properties remain the same.

**Q: Can I move a task back to its original hub?**

A: Yes, you can create another automation or manually move the task back. However, the original hub information is not automatically preserved.

**Q: How is this different from Assign Task automation?**

A: Move Task changes the **hub location** of a task, while Assign Task assigns the task to a **specific user**. They serve different purposes: Move Task is for organizational routing, Assign Task is for workload distribution.

**Q: Will users be notified when a task is moved?**

A: Task movement through automation does not trigger automatic notifications. If you need notifications, create a separate Notification automation for the same event with appropriate message templates.
