Skip to content
bahtuiv0.18.8

Workflow wizard

Level 2: <baht-workflow> runs the rules. Pick company and the Person step is skipped (its data is cleared, not kept); toggle VAT and vatId appears + becomes required. The runtime owns the Next/Submit button; your app does the real submit on baht-submit.

Wizard (live rules)

Merged nested data baht-data-change

{}

The JSON behind this page is the spec 06 sample: one WorkflowDefinition with three forms, rules keyed by formName.fieldKey, and transitions that skip a step. Build your own in the visual builder; the element API is on the <baht-workflow> page, and bank20baht-validator re-runs the same rules on the server for every submission.