return commandService.execute( command );
}
public ProcessInstance createProcessInstance(String processId,
Map<String, Object> parameters) {
CreateProcessInstanceCommand command = new CreateProcessInstanceCommand();
command.setProcessId( processId );
command.setParameters( (HashMap<String, Object>) parameters );
return commandService.execute( command );
}