How to get a Task's description inside runStep()? I know that I can get the default description of a Task with:

$this-&gt;description;
//or
$this-&gt;getDescription();


But how can I get the description if it got changed on creation:

craft()-&gt;tasks-&gt;createTask('Mailer', $new_description);


Adding it as an attribute doesn't seem "right" to me:

craft()-&gt;tasks-&gt;createTask('Mailer', $new_description, array('description' =&gt; $new_description));
The description you define in getDescription() is just the default description in the event that no description was specified when craft()-&gt;tasks-&gt;createTask() was called.

The actual description for the task is saved on the TaskModel, which you can get via $this-&gt;model from your Task class:

$description = $this-&gt;model-&gt;description;