Skip to content

flow-id-mismatch

A flow whose front matter id is not its file name without .md. The flow in flows/add-activity.md must have id: add-activity.

A flow is found by its ID, and its file by its name; when they differ, a reader, an agent or a link going by one will not find the other. It usually happens when a flow file is renamed or copied. This is a correctness rule: it is always an error.

Change the id to the file name, or rename the file to the id.

The flow starts on the timeline:

screens:
trip.timeline:
title: Timeline
area: trip
presentation: root

The file is docs/flows/flows/add-activity.md:

---
id: new-activity
title: Add an activity
status: proposed
entry: trip.timeline
---
---
id: add-activity
title: Add an activity
status: proposed
entry: trip.timeline
---