Skip to content

Commit e37d8f7

Browse files
docs(uipath-maestro-flow): say check now flags a subflow reading its parent's input (#4735) (#4881)
Short version: check now reports a subflow child that reads an input it does not declare, such as the parent's $vars.start.output.n (SUBFLOW_PARENT_SCOPE_READ, @uipath/maestro-builder-sdk 6.100.0, UiPath/builder-sdk#2019). The author.md anti-pattern keeps the rule and says which SDK catches it, instead of "check does not catch it". 🤖 Generated with Claude Code Co-Authored-By: [Claude](mailto:noreply@anthropic.com)
1 parent 13bc3d1 commit e37d8f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • skills/uipath-maestro-flow/references

‎skills/uipath-maestro-flow/references/author.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Inputs, outputs, and vars take one of the six types the Flow CLI and Workbench o
8080
- **Never replace a registered connector with `mock()` or a script because it is not configured.** Write `connector(...)`, run the `prepare` named by `check`, and if no live connection exists, report "prepare pending" as an open question. Reviewers and Studio Web need the real connector.
8181
- **Never reuse a reference id from another flow/session** (mailbox folder, Slack channel, Jira project). IDs are scoped to the account behind the connection: a reused one compiles, validates, and faults at runtime. Resolve again with a `lookup()` token and the `prepare` named by `check`.
8282
- **Never write an unresolved reference field.** On lookup failure (401/403 expired grant or 5xx), do not substitute display name, alias, or remembered value; stop and report the failed resolve.
83-
- **Never reference parent values inside a subflow.** Pass them through `subflow(child, {...})` and read with `input(...)`; `check` does not catch a child reading the parent's `$vars.start.output.*`, which compiles and resolves to nothing.
83+
- **Never reference parent values inside a subflow.** Pass them through `subflow(child, {...})` and read with `input(...)`. On `@uipath/maestro-builder-sdk` 6.100.0 or later, `check` on the calling flow reports a child's `$vars.start.output.<name>` or `input('<name>')` for any `<name>` the child does not declare, the parent's inputs included, as `SUBFLOW_PARENT_SCOPE_READ`; an older SDK compiles it, and it resolves to nothing.
8484
- **Never debug a script with `console.log`.** `console.log` and its
8585
siblings exist but do nothing, so the output goes nowhere
8686
([script runtime](script.md#the-javascript-runtime)). Return the value to

0 commit comments

Comments
 (0)