private void runScript(List<Prozess> inProzesse, String stepname, String scriptname) {
HelperSchritteWithoutHibernate hs = new HelperSchritteWithoutHibernate();
for (Prozess p : inProzesse) {
for (Schritt step : p.getSchritteList()) {
if (step.getTitel().equalsIgnoreCase(stepname)) {
StepObject so = StepManager.getStepById(step.getId());
if (scriptname != null) {
if (step.getAllScripts().containsKey(scriptname)) {
String path = step.getAllScripts().get(scriptname);
hs.executeScriptForStepObject(so, path, false);
}