Only available within a task, the task object contains attributes describing the current task itself.

How to access it

  • Use {{ task.id }} in a task script

What it contains

This object is always a hash, containing the following keys:

  • "id" – string
  • "created_at" – string

This object is most useful for scheduling followup work for itself, using the "task_ids" option in the "event" action.

Did this answer your question?