Top-level playbook properties AND declarative state
(inputs and outputs). Maps to sys_pd_process_definition + child
sys_pd_process_input/output records. parentTable and publicAccess are
disallowed when executionType is 'on_demand' — on-demand playbooks have no
triggering record, and a public playbook must be tied to one.
allowAsNested can only be true when executionType is 'on_demand'.
launcherShowRecordForm, launcherRecordFormView, and launcherTemplateFields
cannot be set when executionType is 'on_demand'.
Object containing the triggers array of PlaybookTrigger(...)
instances, optional permissions, and optional variants. Depends on the 1st-arg
config: the typed inputs schema I enables left-side mapper-key intellisense and
required-input warnings, parentTable P types params.parentRecord in the
permissions/variants callbacks, and executionType E makes triggers
unconfigurable (omitted entirely) when set to 'on_demand'. Variants declared here are
exposed to the 3rd-arg lanes callback as params.variants.<name>.
Declarative body with lanes. Execution ordering is declared
via startRule on each lane and activity config. When the config sets
publicAccess: true, every lane and activity here must be built from activity
definitions marked publicAccess: true.
Main API for defining Playbooks with the 3-argument pattern.