Skip to content

Reorganized the Workflow docs #11437

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Better explain the differences between workflows and state machines
  • Loading branch information
javiereguiluz committed Apr 17, 2019
commit c2ed4183768cde97f6b54d5dca8d16018c39e75f
13 changes: 9 additions & 4 deletions workflow/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,15 @@ State Machines
--------------

A state machine is a subset of a workflow and its purpose is to hold a state of
your model. The most important difference is that a state machine cannot be in
more than one place simultaneously. Another difference is that workflows usually
don't have cyclic paths in the definition graph, but it's common for state
machines.
your model. The most important differences between them are:

* Workflows can be in more than one place at the same time, whereas state
machines can't;
* Workflows usually don't have cyclic paths in the definition graph, but it's
common for state machines;
* In order to apply a transition, worflows require that the object is in all the
previous places of the transition, whereas state machines only require that
the object is at least in one of those places.

Example
~~~~~~~
Expand Down