final StateManager stateManager = context.getStateManager(); Long currMaxId = eventAccess.getProvenanceRepository().getMaxEventId();
final String rootGroupName = procGroupStatus == null ? null : procGroupStatus.getName(); Long currMaxId = context.getEventAccess().getProvenanceRepository().getMaxEventId();