if (p != null && p.getId() != null) {
moveFiles(metsfile, basepath, p);
List<StepObject> steps = StepManager.getStepsForProcess(p.getId());
for (StepObject s : steps) {
if (s.getBearbeitungsstatus() == 1 && s.isTypAutomatisch()) {
ScriptThreadWithoutHibernate myThread = new ScriptThreadWithoutHibernate(s);
myThread.start();
}
}
}
} catch (ReadException e) {
Helper.setFehlerMeldung("Cannot read file " + processTitle, e);