You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 47adef2
Browse filesBrowse the repository at this point in the historyBrowse files
docs(automation): a flow's record nodes treat a computed filter operand as a value, never as a query operator
The automation skill's filter-operand section and the flows page's CRUD
filter paragraph state the rule from the service-automation changeset and
the author's fix: make the expression evaluate to the compared value (for a
record, its id), and write conditions in the filter itself.
The skill's token ceiling is paid in the same file by deleting restatement:
the condition-CEL item of the silently-wrong list (taught by
objectstack-formula, which the skill's opening blockquote already names), a
second legacy-to-CEL pointer that repeats the opening blockquote, the
inline filter example repeated by the update_record example further down,
and the notify row's "(inbox by default)" that the notify block's channels
default restates.
Claude-Session: https://claude.ai/code/session_01J8VVAmczcwpTdN2WmzM6Mo
Co-authored-by: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: skills/objectstack-automation/SKILL.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ Flows are built from **built-in node types** (plugins register more):
94
94
| Node | Purpose |
95
95
|:-----|:--------|
96
96
|`http`| Call an external HTTP API — always set `timeoutMs` (unset = no timeout). `url` and `headers` are served as written with the definition to every member who can read flows — only `signingSecret` and a start node's `secret` are withheld — so never a credential there: a credential means a declared connector called via `connector_action`|
97
-
|`notify`| Send a notification through the messaging service (inbox by default) |
97
+
|`notify`| Send a notification through the messaging service |
98
98
|`connector_action`| Dispatch an action of a declared connector (§ *Integrations are declared, not coded*) or a plugin's. `connectorConfig.input` is a value-slot map like `subflow``input`: `registerFlow` and `os validate` refuse a `{…}` token at `connectorConfig.input.<key>`. Once evaluated, it is judged against the action's `inputSchema` (`required`, `type`, `properties`, `items`) before dispatch: a breach fails the step `VALIDATION_ERROR` (`fault`-routable), nothing sent; `os validate` does not judge the `inputSchema` fit yet |
99
99
|`script`| Call a **registered** function named by `config.function` (see *Valid-but-silently-wrong*#3) |
100
100
| `screen` | Display a UI form to the user (screen flows only). `config.fields[]`: `{ name, label, type, required, options, defaultValue }`, `type` an open widget hint; `'file'` renders the upload widget and resumes with the `sys_file` id bound to `name` — a later `create_record` / `update_record` writes it into a `file` field, which claims the file: collect first, write after the last screen. `'record_link'` (never `'record'`, an object field type) takes no input — it shows the `reference` record whose id `defaultValue` evaluates to, by display name, as a link to its record page: the result screen of a flow that created records, `{ name: 'account_link', type: 'record_link', reference: 'crm_account', defaultValue: { dialect: 'cel', source: 'account.id' } }` over a `create_record` `outputVariable: 'account'`. Both keys required; `required` / `options` / `placeholder` / `min` / `max` refused; a resume value under its name refused (`400 INVALID_SCREEN_INPUT`). A completed `end` `message` is refused and a markdown link in a screen `description` renders literally. Next / Submit and "Step N of M" are not authored: the engine reads the graph when the screen pauses and serves `progress` (`nextScreen: 'none' | 'possible' | 'certain'`; `step` / `stepCount` only when every path agrees), which alone labels the button and draws the counter. A `decision`, `fault` edge, loop back, non-screen pause (`approval`, `wait`) or `subflow` after a screen answers `possible` — "Next", no count. `progress` in a node `config` is refused; never hand-roll a button label or step counter into `fields` |
@@ -280,10 +284,6 @@ write them right the first time:
280
284
} });
281
285
```
282
286
283
-
4.**Conditions are bare CEL; only the stdlib (`CEL_STDLIB_FUNCTIONS`,
284
-
**objectstack-formula**) is callable bare.** An unknown function (`PRIOR()`, a
285
-
typo) and a `{…}`-wrapped field ref both **fail the build** — write `record.x`.
286
-
287
287
---
288
288
289
289
→ State Machines & Approvals: [references/state-machines-and-approvals.md](./references/state-machines-and-approvals.md) — its state-introspection route is `GET /api/v1/meta/object/:name/state/:field?from=:state`.
0 commit comments