anchor.diff:  	viewModel.editedDirectWorkflow = undefined;
   	viewModel.editedDirectWorkflowIndex = undefined;
   	viewModel.workflowChainOfEditedDirectWorkflow = undefined;
  -	var editedWorkflow = undefined;
  +	$scope.editedWorkflow = undefined;
   	viewModel.editedWorkflowIndex = undefined;
   	$scope.stepOrderedWorkflow;
   
  
positive.code: 	};
  
  	viewModel.addStepSelectedBeforeStep = function(step) {
  		$rootScope.$emit("AddStepController::showAddStepPopupWithInsertIndex", _.indexOf(editedWorkflow.steps, step));
  	};
  
  	viewModel.addStepSelectedAtEnd = function(directWorkflowIndex, workflowIndex) {
  
negative.code: 		viewModel.editedDirectWorkflow = null;
  		viewModel.editedDirectWorkflowIndex = null;
  		viewModel.workflowChainOfEditedDirectWorkflow = null;
  		$scope.editedWorkflow = null;
  		viewModel.editedWorkflowIndex = null;
  	};
  
  