public function deleteWorkflowAction()
 {
     $this->view->layout()->disableLayout();
     $this->_helper->viewRenderer->setNoRender(true);
     $id = $this->_getParam('id');
     $guid = $this->_getParam('guid');
     $model1 = new Security_Model_WorkflowMaster();
     $model = $model1->fetchRow("id='{$id}' and row_guid='{$guid}'");
     if (false === $model) {
         $this->_flashMessenger->addMessage(array('error' => 'Invalid request! Please try again.'));
         $this->_helper->_redirector->gotoUrl($this->view->seoUrl('/security/workflow/workflow-list'));
     }
     $model->setIsDeleted(1);
     if ($model->save()) {
         $this->_flashMessenger->addMessage(array('success' => 'Workflow deleted successfully'));
         $this->_helper->_redirector->gotoUrl($this->view->seoUrl('/security/workflow/workflow-list'));
     }
 }