code: public FlowStatus getFlowStatus(FlowStatusId flowStatusId)
        throws RemoteInvocationException {
      LOG.debug("getFlowConfig with groupName " + flowStatusId.getFlowGroup() + " flowName " +
          flowStatusId.getFlowName());
  
      GetRequest<FlowStatus> getRequest = _flowstatusesRequestBuilders.get()
          .id(new ComplexResourceKey<>(flowStatusId, new EmptyRecord())).build();
  
      Response<FlowStatus> response =
          _restClient.get().sendRequest(getRequest).getResponse();
      return response.getEntity();
    }
docs: Get a flow status
  @param flowStatusId identifier of flow status to get
  @return a {@link FlowStatus} with the flow status
  @throws RemoteInvocationException