> For the complete documentation index, see [llms.txt](https://socrates.gitbook.io/socrates/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://socrates.gitbook.io/socrates/fundamentals/flows/step-flows.md).

# Steps Flows

Steps Flow is a pipeline of one or more [Instances](/socrates/fundamentals/instances.md) arranged in Steps. They share ENV Variables ([parameters](/socrates/fundamentals/parameters.md)) and Outputs to the next Steps. It has its own execution history and can be drilled down to individual Instances.

## Creating a Steps Flow <a href="#creating-a-block" id="creating-a-block"></a>

Go to `/step/create/`

![](https://1971768033-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVaIfG2Rerp9OfcB9UQTT%2Fuploads%2FY2HEcitNnqOJ4h7I0vr8%2FScreen%20Shot%202022-04-03%20at%2017.59.24.png?alt=media\&token=cb5b77d2-1c29-4420-8401-360cee83e09a)

Drag & Drop (Instances) to your flow in a specific Step. They can be arranged and Dragged back to be removed. You can also add or remove entire steps.

Also Choose an Error behaviour:

* Continue - Ignore Errors
* Stop - Stop next steps

Click <mark style="background-color:green;">Create</mark>.

## Running a DAG Flow

Go to `/step/list/` and choose an Flow to Run.

{% hint style="info" %}
Wait for [Dynamic Parameters](/socrates/fundamentals/parameters/dynamic.md) to finish rendering before clicking Play.
{% endhint %}

Expand the parameters tab to override if needed.

![](https://1971768033-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVaIfG2Rerp9OfcB9UQTT%2Fuploads%2FVTTmqrRpqEwszSnXcAj4%2FScreen%20Shot%202022-04-03%20at%2018.02.34.png?alt=media\&token=adf77fbc-3963-4a1f-a872-af754c3080c9)

The Run Page has the following capabilities:

* Job execution history
* Click on each instance in step to show console log or go to the instance run page of that specific run.
* Overriding specific parameters for your next executions.
* [Scheduling](/socrates/fundamentals/scheduler.md) with current chosen parameters.
