docs: fix TaskFlow CLI command path and CLI task notify policy

This commit is contained in:
Vincent Koc
2026-04-03 03:03:00 +09:00
parent 9f3a26caa6
commit bcd61e54e1
6 changed files with 28 additions and 54 deletions

View File

@@ -1,43 +1,18 @@
---
summary: "CLI reference for `openclaw flows` commands"
summary: "Redirect: flow commands live under `openclaw tasks flow`"
read_when:
- You want to list, inspect, or cancel TaskFlow flows from the CLI
- You encounter openclaw flows in release notes or docs
title: "flows"
- You encounter openclaw flows in older docs or release notes
title: "flows (redirect)"
---
# `openclaw flows`
# `openclaw tasks flow`
Inspect and manage [TaskFlow](/automation/taskflow) flows from the command line.
## Commands
### `flows list`
Flow commands are subcommands of `openclaw tasks`, not a standalone `flows` command.
```bash
openclaw flows list [--json]
openclaw tasks flow list [--json]
openclaw tasks flow show <lookup>
openclaw tasks flow cancel <lookup>
```
List active and recent flows with status and sync mode.
### `flows show`
```bash
openclaw flows show <lookup>
```
Show details for a specific flow by flow id or lookup key, including state, revision history, and associated tasks.
### `flows cancel`
```bash
openclaw flows cancel <lookup>
```
Cancel a running flow and its active tasks.
## Related
- [TaskFlow](/automation/taskflow) — flow orchestration overview
- [Background Tasks](/automation/tasks) — the detached work ledger
- [CLI reference](/cli/index) — full command tree
For full documentation see [TaskFlow](/automation/taskflow) and the [tasks CLI reference](/cli/index#tasks).

View File

@@ -46,7 +46,6 @@ This page describes the current CLI behavior. If commands change, update this do
- [`browser`](/cli/browser)
- [`cron`](/cli/cron)
- [`tasks`](/cli/index#tasks)
- [`flows`](/cli/flows)
- [`dns`](/cli/dns)
- [`docs`](/cli/docs)
- [`hooks`](/cli/hooks)
@@ -173,10 +172,7 @@ openclaw [--dev] [--profile <name>] <command>
show
notify
cancel
flows
list
show
cancel
flow list|show|cancel
gateway
call
health
@@ -814,6 +810,9 @@ List and manage [background task](/automation/tasks) runs across agents.
- `tasks notify <id>` — change notification policy for a task run
- `tasks cancel <id>` — cancel a running task
- `tasks audit` — surface operational issues (stale, lost, delivery failures)
- `tasks flow list` — list active and recent TaskFlow flows
- `tasks flow show <lookup>` — inspect a flow by id or lookup key
- `tasks flow cancel <lookup>` — cancel a running flow and its active tasks
## Gateway