code: public Group findGroupById(String groupId) {
      return createGroupQuery(org.camunda.bpm.engine.impl.context.Context.getCommandContext())
        .groupId(groupId)
        .singleResult();
    }
docs: Groups ///////////////////////////////////////////////