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 5e32f8c
Browse filesBrowse the repository at this point in the historyBrowse files
docs(skills): `objectstack-automation` spells an `expression` approver's `value` as the plain CEL string the schema accepts
6
+
7
+
Clause-②: no
8
+
Metadata-protocol: none
9
+
10
+
`skills/objectstack-automation/references/state-machines-and-approvals.md`, *Dynamic approvers*: the three fragments wrote the approver's `value` with the `cel` tag, which builds a `{ dialect, source }` object. `ApprovalNodeApproverSchema.value` is a string, so an approval node copied from them failed validation with `expected string, received object`. They now read `value: 'current.co_review_departments'`, `value: 'vars.lead_review.next_reviewers'` and `value: 'current.picked_departments'`, the spelling the end-to-end flow below them already used. The `expression` row of the approver table says `value` is the expression string. The file is two bytes shorter and its token ceiling is unchanged.
Copy file name to clipboardExpand all lines: skills/objectstack-automation/references/state-machines-and-approvals.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -226,7 +226,7 @@ an id that does not exist gets.
226
226
|`manager`| The submitter's manager (`sys_user.manager_id`) |
227
227
|`field`| User id read from a record field (`value` = field name). Resolved against the record's **live** state at node entry, so a field written mid-flow routes correctly; a multi-select user field fans out into one approver per user |
228
228
|`queue`| Members of ownership queue `value` at node entry; an empty queue adds nobody. In a packaged flow, see below |
229
-
|`expression`| A **CEL expression** resolved at node entry (`value` = the expression) — see **Dynamic approvers** below. The optional `resolveAs: 'user'(default) \| 'department' \| 'position' \| 'team'` re-expands each resolved id through the graph |
229
+
|`expression`| A **CEL expression** resolved at node entry (`value` = the expression string) — see **Dynamic approvers** below. The optional `resolveAs: 'user'(default) \| 'department' \| 'position' \| 'team'` re-expands each resolved id through the graph |
230
230
231
231
**A packaged flow's `queue` approver** (ADR-0150 D3) resolves `value` as a
232
232
packaged assignment rule does (SKILL.md § Assignment rules), from the package
0 commit comments