//store.insertWorkflow(workflow);
insertList.add(workflow);
JPAService jpaService = Services.get().get(JPAService.class);
if (jpaService != null) {
try {
jpaService.execute(new BulkUpdateInsertJPAExecutor(null, insertList));
}
catch (JPAExecutorException je) {
throw new CommandException(je);
}
}