1Workflow::Manual::ConfiUgsuerratCioonnt(r3i)buted Perl DWoocrukmfelnotwa:t:iMoannual::Configuration(3)
2
3
4

Configuration Description

6   Workflows
7         workflow:
8
9            workflow
10               type        $
11               description $
12               persister   $
13               state       \@
14                   name          $
15                   description   $
16                   action        \@
17                       name            $
18                       resulting_state $
19                       condition       \@
20                           name $
21
22       •   the 'type' and 'description' keys are at the top level
23
24       •   the 'extra_data' key holds an array of zero or more hashrefs with
25            'table', 'field', 'class' and 'context' keys
26
27       •   'state' key holds array of one or more 'state' declarations; one of
28            them must be 'INITIAL'
29
30       •   each 'state' declaration holds 'description' and 'name' keys and
31            multiple 'action' declarations
32
33       •   each 'action' declaration holds 'name' and 'resulting_state' keys
34            and may hold a 'condition' key with one or more named conditions
35
36   Conditions
37         conditions:
38
39            condition \@
40               name  $
41               class $
42               param \@
43                   name  $
44                   value $
45
46       •   array of one or more hashrefs with 'name' and 'class' keys
47
48   Validators
49         validators:
50
51            validator \@
52               name  $
53               class $
54               param \@
55                   name  $
56                   value $
57
58       •   array of one or more hashrefs with 'name' and 'class' keys, plus
59            possibly one or more 'param' hashrefs each with 'name' and 'value'
60            keys
61
62   Actions
63         actions:
64
65           action \@
66              name  $
67              field \@
68                 name         $
69                 is_required  yes|no
70                 type         $
71                 source_list  \@ of $
72                 source_class $
73                 param        \@
74                     name  $
75                     value $
76              validator \@
77                  name $
78                  arg  \@
79                      value $
80
81       •   array of one or more action hashrefs with 'name', 'class' and
82           'description' keys
83
84       •   each 'action' may have zero or more values used to fill it; each
85            value has a 'name', 'description' and 'necessity' ('required' or
86            'optional')
87
88       •   each 'action' may have any number of 'param' hashrefs, each with
89            'name' and 'value'
90
91       •   each 'action' may have any number of 'validator' hashrefs, each
92            with a 'name' key and array of 'arg' declarations
93
94   Persisters
95         persister:
96
97            extra_table   $
98            extra_field   $
99            extra_class   $
100            extra_context $
101

AUTHORS

103       Please see Workflow.
104
105
106
107perl v5.34.0                      2022-02-06Workflow::Manual::Configuration(3)
Impressum