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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user