/**
  * {@inheritDoc}
  * 
  * @return mixed
  */
 public function process()
 {
     if (!$this->validate()) {
         return $this->failure();
     }
     $this->context->fromArray($this->getProperties());
     if ($this->context->save() == false) {
         $this->modx->error->checkValidation($this->context);
         return $this->failure($this->modx->lexicon('context_err_save'));
     }
     $this->runOnUpdateEvent();
     $this->logManagerAction();
     return $this->success('', $this->context);
 }