Skip to content

Add FBSubFlowNode: synchronous sub-flow execution - #90

Open
noha wants to merge 2 commits into
mainfrom
add-subflow-node
Open

Add FBSubFlowNode: synchronous sub-flow execution#90
noha wants to merge 2 commits into
mainfrom
add-subflow-node

Conversation

@noha

@noha noha commented Aug 9, 2026

Copy link
Copy Markdown
Contributor
  • FBSubFlowNode/FBSubFlowBehavior run a referenced FBFlow synchronously and route on #success/#error via FBTransition>>resultName
  • FBScope wired: one child scope per sub-flow call, depth-tracked via parentId chain, configurable per-node maxDepth (FBSubFlowMaxDepthExceeded guards against unbounded recursion)
  • FBFlowInstance>>subFlowInstances tracks parent->child sub flow instances (one-directional, no back-reference)
  • FBSubFlowInvalidTarget signalled when wiring a sub flow with != 1 end node

noha added 2 commits August 8, 2026 19:00
- FBSubFlowNode/FBSubFlowBehavior run a referenced FBFlow synchronously
  and route on #success/#error via FBTransition>>resultName
- FBScope wired: one child scope per sub-flow call, depth-tracked via
  parentId chain, configurable per-node maxDepth (FBSubFlowMaxDepthExceeded
  guards against unbounded recursion)
- FBFlowInstance>>subFlowInstances tracks parent->child sub flow instances
  (one-directional, no back-reference)
- FBSubFlowInvalidTarget signalled when wiring a sub flow with != 1 end node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant