---
module: fleet.tasks
title: Fleet Task Workflow
tab: Customer
order: 10
audience: customer
---

How to deploy hotfixes and software to ATMs.

## 📤 Upload Hotfix to CDN
1. Go to **cdn.bcos.cloud/uploads.html** and log in with your credentials.
2. Obtain your upload code from the portal.
3. Upload your hotfix `.zip` file using the upload code.

> This CDN upload step applies to HOTFIX artifacts only.

## 📦 Import into Fleet Artifacts
1. Go to the **Artifacts** tab in Fleet Tasks.
2. Click **Import Hotfix from CDN** — available hotfixes on the CDN will be listed.
3. Click **Import** next to the hotfix you uploaded.
4. Once imported, click **Enable** on the artifact.

> An artifact must be enabled before it can be used in a task.

## 🚀 Create a Deployment Task
1. Click **Create Task** in the toolbar.
2. Select task kind: **HOTFIX** to download and apply immediately, or **HOTFIX_INSTALL** to schedule within a patch window.
3. Choose the imported artifact and select one or more target ATMs.
4. Submit — the task is created with status **Pending Approval** and will not execute until approved.

## ✅ Approval
1. A user with fleet approver permission opens the **Approvals** tab.
2. They can add an optional note, then click **Approve** or **Reject**.
3. Approved tasks move to **Queued** and ATMs pick them up on the next check-in.

> Rejected tasks are cancelled. The requester should be notified separately.

## 🕐 Patch Windows (HOTFIX_INSTALL)
1. Assign a **Patch Window** to ATMs via device settings to control when installs run.
2. When a HOTFIX_INSTALL task is created, it auto-schedules within that window — the **Scheduled** tab shows the queued time.
3. The task still requires approval before it will execute.
4. If an ATM has no patch window assigned, the install runs immediately after approval.

> Patch windows are defined in the Patch Windows tab.
