Skip to content

Commit 9d1d808

Browse files
committed
优化注释
1 parent 20c9175 commit 9d1d808

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

solon-flow/src/test/java/features/flow/manual/control/ControlFlowTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ public void case1() {
6969

7070
FlowContext context = FlowContext.of(initialState.orderId).put("state", initialState);
7171
flowEngine.eval(graph, context);
72+
73+
// 可以持久化 context.toJson() ,下次恢复使用 FlowContext.fromJson(json)
7274
Assertions.assertEquals("n2", context.lastNodeId());
7375

7476
//模拟人工审核后

0 commit comments

Comments
 (0)