public void internalExecuteWorkItem(WorkItem workItem) {
Environment env = this.kruntime.getEnvironment();
WorkItemInfo workItemInfo = new WorkItemInfo(workItem, env);
PersistenceContext context = ((PersistenceContextManager) env.get( EnvironmentName.PERSISTENCE_CONTEXT_MANAGER )).getCommandScopedPersistenceContext();
workItemInfo = context.persist( workItemInfo );
((WorkItemImpl) workItem).setId(workItemInfo.getId());
workItemInfo.transform();
if (this.workItems == null) {