List tasks
Lists Asana tasks in a project, section, tag or one person's list.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Asana connection the step signs in with. |
| Project id | Tasks in one project. The List projects node gives you the id. |
| Section id | Tasks in one section (column). The List sections node gives you the id. |
| Tag id | text |
| Assignee | One person's tasks — an id or e-mail, or the word me. Needs a Workspace id. |
| Workspace id | text |
| Completed since | text |
| Tasks per call | 1 to 100. |
| Fetch every page | Follows Asana's next-page cursor, and refuses past 5,000 tasks rather than answering a short list. |
| Fields to fetch | Asana leaves out anything you do not ask for. Add a field here to get it back. |
| Cursor | Paste a previous run's Next cursor to read the page after it. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `asana`) |
projectId | text |
sectionId | text |
tagId | text |
assignee | text |
workspaceId | textused when `assignee` is not "" |
completedSince | text |
limit | number, by default 100 |
returnAll | true/false, by default false |
fields | text, by default "gid,name,completed,assignee,due_on" |
cursor | text |
Output
| Field | Type |
|---|---|
tasks | array |
taskCountTasks in this answer | number |
hasMoreMore tasks are waiting behind this page | boolean |
nextCursorCursor for the next page | string |
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
| Setting | What it is |
|---|---|
| ConnectionRequired | The Asana connection the step signs in with. |
| Project id | Tasks in one project. The List projects node gives you the id. |
| Section id | Tasks in one section (column). The List sections node gives you the id. |
| Tag id | text |
| Assignee | One person's tasks — an id or e-mail, or the word me. Needs a Workspace id. |
| Workspace id | text |
| Completed since | text |
| Tasks per call | 1 to 100. |
| Fetch every page | Follows Asana's next-page cursor, and refuses past 5,000 tasks rather than answering a short list. |
| Fields to fetch | Asana leaves out anything you do not ask for. Add a field here to get it back. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `asana`) |
projectId | text |
sectionId | text |
tagId | text |
assignee | text |
workspaceId | textused when `assignee` is not "" |
completedSince | text |
limit | number, by default 100 |
returnAll | true/false, by default false |
fields | text, by default "gid,name,completed,assignee,due_on" |