Only available within a task, the task
object contains attributes describing the current task itself.
- Use
{{ task.id }}
in a task code
This object is always a hash, containing the following keys:
"id"
– string"created_at"
– string
This object is most useful for scheduling follow-up work for itself, using the "task_ids" option in the "event" action.