We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20c9175 commit 9d1d808Copy full SHA for 9d1d808
1 file changed
solon-flow/src/test/java/features/flow/manual/control/ControlFlowTest.java
@@ -69,6 +69,8 @@ public void case1() {
69
70
FlowContext context = FlowContext.of(initialState.orderId).put("state", initialState);
71
flowEngine.eval(graph, context);
72
+
73
+ // 可以持久化 context.toJson() ,下次恢复使用 FlowContext.fromJson(json)
74
Assertions.assertEquals("n2", context.lastNodeId());
75
76
//模拟人工审核后
0 commit comments