What is a flow?

Explanation in under 5 minutes

A flow is a chain of events executed one after another, based on a computational model called a 'state machine'.

The STATEWIZE flow is built from the following components:

  1. States

  2. Conditions

  3. Connections (= "Transitions", in its traditional name)

A State defines something that needs to happen. The basic logical unit.

A Condition coordinates the execution flow based on computational results.

A Connection connects one state to another, thus creating a flow.

Example: "Calculate 2+2, and then send an email with the result"

This example has 2 states and one connection:

Simple flow

State 1 is "Calculate 2+2", State 2 is "Send Email", and the arrow resembles a connection between them.

This is a definition of a flow, let's call it "My Wonderful flow".

Running this flow would create a new execution record. Running it twice would create 2 execution records, each with its own record of what happened during that execution.

Since it's a simple flow not much would change between executions. After all it just calculates 2+2 and sends an email.

We will dive deeper into more complex flows in the next page, but for now - you got it!

Flows are used everywhere, knowingly or unknowingly.