Skip to content

Add hierarchical state support to StatusFlow#730

Open
moqui-industrial wants to merge 2 commits into
moqui:masterfrom
moqui-industrial:feat/hierarchical-status-flow
Open

Add hierarchical state support to StatusFlow#730
moqui-industrial wants to merge 2 commits into
moqui:masterfrom
moqui-industrial:feat/hierarchical-status-flow

Conversation

@moqui-industrial

@moqui-industrial moqui-industrial commented Jul 17, 2026

Copy link
Copy Markdown

Adds hierarchical StatusFlow support with parent-child flow relationships, cross-flow transitions, and append-only StatusFlowStack tracking.

Schema impact:

  • adds parentStatusFlowId to StatusFlow
  • adds toStatusFlowId to the StatusFlowTransition primary key
  • replaces the original StatusFlowStack shape with append-only event rows

Compatibility and migration impact:

  • existing StatusFlowTransition data requires migration because the primary key changes
  • this is not a purely additive schema change

Files changed:

  • framework/entity/BasicEntities.xml

Validation performed:

  • git diff --check
  • xmllint --noout on framework/entity/BasicEntities.xml
  • local dependency search for StatusFlow, StatusFlowTransition, statusFlowId, toStatusFlowId, and StatusFlowStack

This PR supersedes the hierarchical StatusFlow portion of #720.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant