Add enterprise business flows and fix layered sample compile.

Structured {source, event} steps in state_machine_enterprise flows.json enable HTML flow highlighting; fix additional-state configuration in layered_dispatcher_sample and refresh enterprise golden JSON.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-14 17:42:09 +02:00
parent 2e7afd6d42
commit a3789ceb3c
7 changed files with 55 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ public class StandardDocumentStateMachineConfiguration extends AbstractDocumentS
@Override
protected void configureAdditionalStates(StateMachineStateConfigurer<DocumentState, DocumentTransitionEvent> states)
throws Exception {
states.state(DocumentState.REJECTED);
states.withStates().state(DocumentState.REJECTED);
}
@Override

View File

@@ -14,7 +14,7 @@ public class StandardOrderStateMachineConfiguration extends AbstractOrderStateMa
@Override
protected void configureAdditionalStates(StateMachineStateConfigurer<OrderState, OrderTransitionEvent> states)
throws Exception {
states.state(OrderState.CANCELLED);
states.withStates().state(OrderState.CANCELLED);
}
@Override