final StepExecutionItem executionItem) {
if (!(executionItem instanceof NodeStepExecutionItem)) {
throw new IllegalArgumentException(
"Cannot executeWorkflowStep: step is not a NodeStepExecutionItem: " + executionItem);
}
NodeStepExecutionItem item = (NodeStepExecutionItem) executionItem;
final Framework framework = context.getFramework();
try {
return wrapDispatcherResult(framework.getExecutionService().dispatchToNodes(context, item));
} catch (DispatcherException e) {