memProcessVariables = copyProcessVariables(memContext, engine.getPersistenceContextProvider());
}
// Perform transaction rollback and get rid of the rollback-invalid persistence context
TokenContextService contextService = engine.getTokenContextService();
contextService.evictContext(memContext);
engine.rollback();
// Retrieve the current version of the context
TokenContext dbContext = contextService.getContextById(contextId);
boolean updateContext = false;