private PayloadGroup onboardNextPayloadGroup(
        Workspace workspace, PayloadGroup currentPayloadGroup) throws PersistenceException {
      PayloadGroup nextPayloadGroup = currentPayloadGroup.getNextPayloadGroup();
      workspace.removeActivePayloadGroup(currentPayloadGroup);

      if (nextPayloadGroup != null) {
        workspace.addActivePayloadGroup(nextPayloadGroup);
      }

      return nextPayloadGroup;
    }
    private List<Payload> onboardNextPayloads(Workspace workspace, PayloadGroup payloadGroup)
        throws PersistenceException {
      if (payloadGroup == null) {
        return ListUtils.EMPTY_LIST;
      }

      List<Payload> payloads = payloadGroup.getPayloads();
      if (payloads.size() > 0) {
        workspace.addActivePayloads(payloads);
      }

      return payloads;
    }