Workflo...guration(3)
πΈ Configuration Description πΈ
okay bestie, so this is the tea from the Workflo...guration(3) page π β it's part of the User Contributed Perl Documentation, and it's literally just here to spill how you actually write out a Workflow config. no cap, it's all about the shape of your data structures. let's go π«Ά
π Workflows
the big one. here's the vibe of a workflow:
workflow:
workflow
type $
description $
persister $
state \@
name $
description $
action \@
name $
resulting_state $
condition \@
name $
okay so the rules, and you do need to know all of them:
- the
typeanddescriptionkeys live at the top level π - the
extra_datakey holds an array of zero or more hashrefs withtable,field,classandcontextkeys - the
statekey holds an array of one or morestatedeclarations β and one of them must beINITIALβ (yes, mandatory, no skipping) - each
statedeclaration holdsdescriptionandnamekeys, plus multipleactiondeclarations - each
actiondeclaration holdsnameandresulting_statekeys, and may hold aconditionkey with one or more named conditions
β¨ Conditions
conditions:
condition \@
name $
class $
param \@
name $
value $
- array of one or more hashrefs with
nameandclasskeys π
π¦ Validators
validators:
validator \@
name $
class $
param \@
name $
value $
- array of one or more hashrefs with
nameandclasskeys, plus possibly one or moreparamhashrefs each withnameandvaluekeys π
π Actions
actions:
action \@
name $
field \@
name $
is_required yes|no
type $
source_list \@ of $
source_class $
param \@
name $
value $
validator \@
name $
arg \@
value $
the deets:
- array of one or more action hashrefs with
name,classanddescriptionkeys π₯ - each
actionmay have zero or more values used to fill it; each value has aname,descriptionandnecessity(requiredoroptional) - each
actionmay have any number ofparamhashrefs, each withnameandvalue - each
actionmay have any number ofvalidatorhashrefs, each with anamekey and array ofargdeclarations
π Persisters
persister:
extra_table $
extra_field $
extra_class $
extra_context $
π«Ά AUTHORS
Please see Workflow. (that's the whole bit, they're keeping it mysterious π)
and that's the page, bestie β perl v5.42.0, dated 2026-01-17, straight from the Workflo...guration(3) era. go forth and configure, you absolute icon π
β¨
π¦ where this page comes from
- fedora 44: perl-Workflow 2.09-2.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms