Skip to main content

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

MethodPathDescription
POST/activityCreate a new Activity from a Workflow definition.
After creation, retrieve, update, or delete an Activity through the standard Task endpoints using the Activity master task’s ID — Activities are stored as tasks with taskType = activityMaster.