1Workflow::Manual::OvervUiseewr(3C)ontributed Perl DocumeWnotraktfiloonw::Manual::Overview(3)
2
3
4

Basics of Workflows

6       •   A Workflow is an object of a particular type (even if no code
7           exists)
8
9       •   Workflows consist of states, all custom except one 'INITIAL' which
10            is the state of the workflow when it's first created.
11
12       •   The Workflow is responsible for declaring state transitions upon
13            successful execution of certain actions.
14
15       •   The application that creates or fetches a Workflow fills it (or its
16            associated context) with objects required by Actions, Validators
17           and
18            Conditions
19
20       •   A Workflow uses Condition objects to determine whether an action is
21            accessible
22
23       •   Every workflow state has zero or more accessible actions. When the
24            action is called it has access to the workflow and its associated
25            context so it can work with the environment. (For example, create
26           a
27            ticket associate the current user with it.)
28
29       •   Actions do not change workflow state. They just respond to state
30            changes by the workflow and complete some operations outside of
31           it.
32
33       •   The Workflow is observable and fires events on state changes.
34
35       •   Action declaration: workflow_action.xml
36
37       •   Validator declaration: workflow_action_validator.xml
38
39       •   The workflow declaration binds the actions together and declares
40           states and their transitions.
41
42       •   Workflow declaration: customer_foo_workflow.xml
43
44       •   Conditions are objects just like everything else, and like
45           everything else they have access to the same universe of objects as
46           the Actions and Workflow. (Although the workflow isn't directly
47           coded...)
48
49       •   Condition declaration: workflow_condition.xml
50

AUTHORS

52       Please see Workflow.
53
54
55
56perl v5.38.0                      2023-07-21     Workflow::Manual::Overview(3)
Impressum