- ((SlcExecution) slcProcess).getSteps().add(step);
- executionModulesManager.dispatchAddStep(slcProcess, step);
+ ((SlcExecution) slcProcess).getSteps().add((SlcExecutionStep) step);
+
+ List<ExecutionStep> steps = new ArrayList<ExecutionStep>();
+ steps.add(step);
+ dispatchAddSteps(steps);
+ }
+
+ public void dispatchAddSteps(List<ExecutionStep> steps) {
+ ExecutionProcess slcProcess = processThread.getProcess();
+ executionModulesManager.dispatchAddSteps(slcProcess, steps);