Skip to content

Commit 2a4ae7b

Browse files
os-zhuangclaude
andcommitted
chore: changeset for object-form screen wizard
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 3546c3a commit 2a4ae7b

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
"@objectstack/spec": minor
3+
"@objectstack/service-automation": minor
4+
---
5+
6+
feat(automation): object-form screen-flow steps
7+
8+
A `screen` node that declares `config.objectName` now renders the named object's
9+
FULL create/edit form (including inline master-detail child grids) instead of a
10+
flat field list. The node emits an `object-form` `ScreenSpec`
11+
(`kind`/`objectName`/`mode`/`recordId`/`defaults`/`idVariable`); the client
12+
renders the real ObjectForm, persists the record (and its children, atomically),
13+
and resumes the run with the saved id bound to `idVariable` so a later step can
14+
reference it — e.g. a lead-conversion wizard: a full Customer step, then a full
15+
Opportunity-with-line-items step.
16+
17+
- **spec**: `ScreenSpec` gains `kind`/`objectName`/`mode`/`recordId`/`defaults`/`idVariable`.
18+
- **service-automation**: the `screen` executor emits object-form specs and now
19+
interpolates `title`/`description`/field `defaultValue`/object-form `defaults`
20+
against live flow variables (the engine does not pre-interpolate node config).

0 commit comments

Comments
 (0)