restClient for list workflows method implemented