Docs > API > Workflow
| Properties | |
|---|---|
| states | An array of all the states defined in the workflow. |
| transitions | An array of all the transitions defined in the workflow. |
| Methods | |
|---|---|
| addTrigger(from, to, fn) | Add a trigger function to a workflow transition. |
| findTransition(from, to) | Retrieve the transition from the "from" state to the "to" state. |



