*/
private List<IWorkflow> splitWorkflowDispatchedSections(IWorkflow workflow) throws ExecutionServiceException {
ArrayList<StepExecutionItem> dispatchItems = new ArrayList<StepExecutionItem>();
ArrayList<IWorkflow> sections = new ArrayList<IWorkflow>();
for (final StepExecutionItem item : workflow.getCommands()) {
StepExecutor executor = framework.getStepExecutionService().getExecutorForItem(item);
if (executor.isNodeDispatchStep(item)) {
dispatchItems.add(item);
} else {
if (dispatchItems.size() > 0) {
//add workflow section
sections.add(new WorkflowImpl(dispatchItems,