# User$list\_workflows

### User$<mark style="color:purple;">list\_workflows</mark>(*max\_results=NULL*) → list<[Workflow](https://docs.redivis.com/api/client-libraries/redivis-r/reference/workflow)>

Returns a list of workflows owned by the user. If the user isn't you, only workflows that you have view access to will be included in the list. The `properties` attribute on each workflow will be populated with the [list definition of a workflow resource](https://docs.redivis.com/api/resource-definitions/workflow#list-definition).

### **Parameters:**

**`max_results` :&#x20;*****int, default NULL***\
If specified, will only return up to max\_results workflow

### **Returns:**&#x20;

**list<**[**Workflow**](https://docs.redivis.com/api/client-libraries/redivis-r/reference/workflow)**>**

### Examples

```r
user <- redivis$user("imathews")
workflows <- user$list_workflows()

for (workflow in workflows){
    print(workflow$properties$name)
}
```
