/**
* Cancels the execution of this workflow.
*
* @param ezcWorkflowExecution $execution
* @param ezcWorkflowNode $activatedFrom
* @param int $threadId
* @ignore
*/
public function activate(ezcWorkflowExecution $execution, ezcWorkflowNode $activatedFrom = null, $threadId = 0)
{
$execution->cancel($this);
}