fix(hitl): document node.outputs block with per-field custom outputs#641
fix(hitl): document node.outputs block with per-field custom outputs#641dushyant-uipath merged 1 commit intomainfrom
Conversation
Add outputs block to the Full Node JSON example showing: - base output and status entries - per-field custom: true entries for schema output/inOut fields (source: =result.<fieldId>, var: <variable>) Also update variables.nodes example to include per-field binding entries, add note explaining when to add per-field globals, and extend the Runtime Variables table with $vars.<nodeId>.<variable> and $vars.<variable> rows. Aligns with CLI fix in uipcli#1894 which made addHitlNode() set node.outputs with per-field outputs. flow-core uses node.outputs to expose $vars paths on the canvas; missing outputs caused custom output variables to be invisible.
|
Claude finished @dushyant-uipath's task in 2m 7s —— View job Reviewing PR #641
SummaryAdds Change-by-Change Review1.
|
| Area | Status | Notes |
|---|---|---|
| Frontmatter | OK | Not modified; SKILL.md frontmatter unchanged |
| E2E Tests | OK | Not a new skill; changes are additive documentation, no new CLI workflows |
| Skill Body | OK | SKILL.md not modified |
| References & Assets | Issue | One stale sentence (Medium), one minor ambiguity (Low) |
| Repo Hygiene | OK | No secrets, no new cross-skill refs, changes scoped to single file |
Issues for Manual Review
- Verify the
sourcepattern for custom outputs (=result.notes,=result.decision) matches whatflow-coreactually emits. The standard entries use=resultand=result.Action— the per-field entries use=result.<fieldId>, which is plausible but should be confirmed against the CLI output from uipcli PR #1894. - Confirm whether "camelCase-derived name" (line 274) accurately describes the fallback when
variableis omitted, or if the runtime just uses the fieldidverbatim.
Conclusion
Solid documentation addition that fills a real gap. One Medium issue: the intro text at line 243 still says "two outputs" which now contradicts the example and could mislead agents. Recommend fixing that sentence before merge. The Low-severity ambiguity in line 274 is worth clarifying but not blocking.
Summary
outputsblock to the Full Node JSON inhitl-node-quickform.mdshowing baseoutput/statusentries plus per-fieldcustom: trueentries for schemaoutput/inOutfieldsvariables.nodesexample to include binding entries for per-field outputsvariables.globals$vars.<nodeId>.<variable>and$vars.<variable>rowsBackground
Corresponds to uipcli PR #1894 which fixed
addHitlNode()to setnode.outputswith per-field outputs (custom: true).flow-coreusesnode.outputsto generate$varspaths visible on the canvas — without these entries, any custom output variable declared in the schema was invisible to downstream nodes.Without this doc update, agents writing the node JSON directly would omit the
outputsblock, causing the same bug.Test plan
hitl-node-quickform.mdnow includesoutputsblock matching CLI outputvariables.nodesexample shows per-field binding entries$vars.<variable>path for workflow-global custom outputs