Skip to content

Commit c53ad15

Browse files
committed
docs(flows): name the tenancy posture where org:members has no organization
Under single the notify reaches nobody with a server-log warning and the step succeeds; under group the notification write is refused and the step fails; under isolated such a schedule flow is never armed. Point at the acting organization as the remedy. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEkQ5kkneJapg7yoXuPYnx
1 parent 6e28797 commit c53ad15

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

‎content/docs/automation/flows.mdx‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -343,10 +343,16 @@ a list of them, each a string or an envelope:
343343
reach a whole organization, write `org:members`: every member of the
344344
notification's organization, whatever their organization membership level, a
345345
member recorded with none included. The organization is the run's, else that
346-
of the record the notification is about — never one written in the string:
347-
where there is none, `org:members` reaches nobody, and any other `org:` value
348-
is no selector and reaches nobody either, each with a warning in the server
349-
log. A selector that names a group of members (`org:members`, `team:ID`) reads
346+
of the record the notification is about — never one written in the string;
347+
any other `org:` value is no selector and reaches nobody, with a warning in the
348+
server log. Where there is none — a `schedule` flow that declares no
349+
`organization` and notifies about no record — the tenancy posture decides:
350+
under `single`, `org:members` reaches nobody, with a warning in the server log,
351+
and the step succeeds; under `group`, the notification itself is refused
352+
(`ERR_SYSTEM_WRITE_ORGANIZATION_REQUIRED`) and the step fails; under `isolated`,
353+
such a flow is never armed. Declare the flow's
354+
[acting organization](#the-acting-organization) to reach its members. A
355+
selector that names a group of members (`org:members`, `team:ID`) reads
350356
every member, however many there are. An
351357
envelope may evaluate to a recipient; to a list of them — a multi-user field, a
352358
list variable — whose every recipient is added; or to `null` or a blank string,

0 commit comments

Comments
 (0)