mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-14 20:22:07 +08:00
feature #IBL9CK 增加bind关键字,能够在任何地方bind key和value
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
liteflow.rule-source=bindData/flow1.xml
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE flow PUBLIC "liteflow" "liteflow.dtd">
|
||||||
|
<flow>
|
||||||
|
<chain id="chain1">
|
||||||
|
THEN(a.bind("k1", "test"), b);
|
||||||
|
</chain>
|
||||||
|
|
||||||
|
<chain id="chain2">
|
||||||
|
THEN(a,b).bind("k1","test");
|
||||||
|
</chain>
|
||||||
|
|
||||||
|
<chain id="chain3">
|
||||||
|
THEN(SWITCH(y).TO(d,c), WHEN(a, b), IF(x, c, d)).bind("k1", "test")
|
||||||
|
</chain>
|
||||||
|
|
||||||
|
<chain id="sub">
|
||||||
|
THEN(a,IF(NOT(x), b, c));
|
||||||
|
</chain>
|
||||||
|
|
||||||
|
<chain id="chain4">
|
||||||
|
THEN(d, sub.bind("k1", "test2"))
|
||||||
|
</chain>
|
||||||
|
</flow>
|
||||||
Reference in New Issue
Block a user