FlowmageDocs

Get task

BetaReads data

Reads one Asana task with the fields you ask for.

Settings

SettingWhat it is
ConnectionRequiredThe Asana connection the step signs in with.
Task idRequiredThe task's Asana id. A task's id is a string, not a number.
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`)
taskIdtext
fieldstext, by default "gid,name,completed,assignee,due_on,notes,projects"

Output

FieldType
taskobject
task.gidIdstring
task.namestring
task.completedboolean
Sample output, and the expression for each field
  • task
    • completedfalse
    • gid"1"
    • name"Task"

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": {
    "connection": "<connection id>",
    "fields": "gid,name,completed,assignee,due_on,notes,projects",
    "taskId": "<task id>"
  },
  "label": "Get task",
  "type": "asana.getTask",
  "version": 1
}