/**
  * @param WorkflowMessage $aWorkflowMessage
  * @return void
  */
 public function handleWorkflowMessage(WorkflowMessage $aWorkflowMessage)
 {
     $this->lastWorkflowMessage = $aWorkflowMessage;
     if ($this->nextAnswer && $this->workflowEngine) {
         if (is_null($this->nextAnswer->processTaskListPosition())) {
             $this->nextAnswer->connectToProcessTask($aWorkflowMessage->processTaskListPosition());
         }
         $this->workflowEngine->dispatch($this->nextAnswer);
         $this->nextAnswer = null;
     }
 }