if (automatic) {
if (rueckgabe == 0) {
step.setEditType(StepEditType.AUTOMATIC.getValue());
step.setBearbeitungsstatus(StepStatus.DONE.getValue());
if (step.getValidationPlugin() != null && step.getValidationPlugin().length() >0) {
IValidatorPlugin ivp = (IValidatorPlugin) PluginLoader.getPluginByTitle(PluginType.Validation, step.getValidationPlugin());
ivp.setStepObject(step);
if (!ivp.validate()) {
step.setBearbeitungsstatus(StepStatus.OPEN.getValue());
StepManager.updateStep(step);
} else {
CloseStepObjectAutomatic(step);
}