FlowmageDocs

List tasks

BetaReads dataVersion 2

Lists Asana tasks in a project, section, tag or one person's list.

Settings

SettingWhat it is
ConnectionRequiredThe Asana connection the step signs in with.
Project idTasks in one project. The List projects node gives you the id.
Section idTasks in one section (column). The List sections node gives you the id.
Tag idtext
AssigneeOne person's tasks — an id or e-mail, or the word me. Needs a Workspace id.
Workspace idtext
Completed sincetext
Tasks per call1 to 100.
Fetch every pageFollows Asana's next-page cursor, and refuses past 5,000 tasks rather than answering a short list.
Fields to fetchAsana leaves out anything you do not ask for. Add a field here to get it back.
CursorPaste a previous run's Next cursor to read the page after it.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `asana`)
projectIdtext
sectionIdtext
tagIdtext
assigneetext
workspaceIdtextused when `assignee` is not ""
completedSincetext
limitnumber, by default 100
returnAlltrue/false, by default false
fieldstext, by default "gid,name,completed,assignee,due_on"
cursortext

Output

FieldType
tasksarray
taskCountTasks in this answernumber
hasMoreMore tasks are waiting behind this pageboolean
nextCursorCursor for the next pagestring
Sample output, and the expression for each field
  • hasMorefalse
  • taskCount0
  • tasks[]

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "assignee": "",
    "completedSince": "",
    "connection": "<connection id>",
    "cursor": "",
    "fields": "gid,name,completed,assignee,due_on",
    "limit": 100,
    "projectId": "",
    "returnAll": false,
    "sectionId": "",
    "tagId": "",
    "workspaceId": ""
  },
  "label": "List tasks",
  "type": "asana.listTasks",
  "version": 2
}

Older versions

A flow that already has this version keeps running it. A new step always gets the newest.

Version 1
SettingWhat it is
ConnectionRequiredThe Asana connection the step signs in with.
Project idTasks in one project. The List projects node gives you the id.
Section idTasks in one section (column). The List sections node gives you the id.
Tag idtext
AssigneeOne person's tasks — an id or e-mail, or the word me. Needs a Workspace id.
Workspace idtext
Completed sincetext
Tasks per call1 to 100.
Fetch every pageFollows Asana's next-page cursor, and refuses past 5,000 tasks rather than answering a short list.
Fields to fetchAsana leaves out anything you do not ask for. Add a field here to get it back.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `asana`)
projectIdtext
sectionIdtext
tagIdtext
assigneetext
workspaceIdtextused when `assignee` is not ""
completedSincetext
limitnumber, by default 100
returnAlltrue/false, by default false
fieldstext, by default "gid,name,completed,assignee,due_on"