# Datasource$source\_workflow

### Datasource$<mark style="color:purple;">source\_workflow</mark>() → [Workflow](https://docs.redivis.com/api/client-libraries/redivis-r/reference/workflow) | NULL

Returns the datasource's source workflow. If the datasource instead has a source dataset, this method will return `NULL`.

### **Returns**

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