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.
What is an Activity?
An Activity is a multi-step task group created from a Workflow template. When you create an Activity, MileApp automatically creates one parent task (taskType = activityMaster) plus one child task (taskType = activityChild) per Workflow step, links them together, and copies field values forward between steps according to the Workflow’s field mappings.
Activities are stored alongside regular tasks: the parent’s _id is also the Activity ID, and the parent’s subId array lists every child task in Workflow-step order. The shape of an Activity follows the standard Task object — see the Task object reference for the full field list.
Endpoints
| Method | Path | Description |
|---|---|---|
| POST | /activity | Create a new Activity from a Workflow definition. |
taskType = activityMaster.
Related
- Activity in Task — End-user guide to creating and managing Activities from the web app.
- Introduction to Workflow — How Workflow templates work.
- Task object — The underlying task schema that Activity master/child tasks extend.