Xale's model Intentions

Tasks Fields and states

A Task is something to do once. It is open or done; it can have a due date and time, a priority, sub-tasks, people and the Note or Mindmap behind it.

View as Markdown

Fields

xale_read_tasks and xale_read_task return:

FieldValues
id, titleThe Task
statusdone or todo. Completion is binary
completedAtWhen it was done, or null
prioritylow, medium or high
dueDate, dueTimeYYYY-MM-DD, HH:mm, in the person's time zone
durationMinExpected minutes
activityTypedeep-work, meeting, errand, admin, planning or vacation
areaIds, linkedProjectIdsAreas, Projects
linkedMilestoneIdsVisible forward links to Milestones
accountableIds, workerIdsDeliver to and Assigned to People

xale_read_task adds:

FieldWhat it is
notesUp to 4,000 characters shown
linkedNoteId, linkedMapId, linkedNodeIdThe Note, Mindmap and node behind it
milestonesUp to 20 visible entries. Each has id, title, date and endDate, including visible legacy links in the same list.
subtasksUp to 100: id, title, durationMin, status (as on the Task), completedAt, order

Reading many

xale_read_tasks lists open Tasks by default. status: done, any, or todo (also not_started) for open Tasks, the default; areaId; dueBeforeYmd for Tasks due on or before a day; limit, 30 by default, up to 500. Start at offset: 0. Pass nextOffset as offset with the same filters and page size while hasMore is true. The response gives the matching visible count in total and the page's items in tasks. Tasks are ordered by due date (undated last), then title and ID. Omit areaId to include Tasks without an Area or Project.

For example, start with {"limit": 2, "offset": 0}. If the response says "hasMore": true and "nextOffset": 2, send {"limit": 2, "offset": 2} next. The last page gives nextOffset: null.

For “what's on today”, xale_read_today gives Tasks due today and overdue.

Creating

xale_create_task: title (required), dueDate, dueTime, priority (medium if left out), areaIds, notes, people (Deliver to), projects, milestones, ordered subtasks titles, and a requestId. Resolve relative dates (“next Friday”) to YYYY-MM-DD first.

Changing

ToUse
Mark done, with its subtasksxale_complete_task
Reopenxale_update_task with completed: false
Change title, due date or time (null clears), duration, priority, notes, Activity type, or the Note or Mindmap behind itxale_update_task
Change subtasksxale_update_task with subtasks: those you send are changed or added by id; those you leave out are kept
Change Areas, People, Projects or Milestonesxale_change_links
Put it in the dayxale_schedule_intention with kind: "task"
Archive itxale_prepare_removal with archive_task, then the person's yes

Limits

Pro allows 2,500 Tasks. The board view and the mind-map view are Pro in the app.

  • Checked against main c1725f34

Was this helpful?

tasks-fields-and-states.md · main@c1725f34