mirror of
https://gitee.com/dromara/liteFlow.git
synced 2026-05-20 05:28:09 +08:00
feat #I64L3Q 增加 @ScriptMethod 注解
This commit is contained in:
@@ -0,0 +1 @@
|
||||
liteflow.rule-source=scriptmethod/flow.xml
|
||||
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<flow>
|
||||
|
||||
<nodes>
|
||||
<node id="d" type="script" language="js">
|
||||
<![CDATA[
|
||||
var str = demo.getDemoStr1();
|
||||
defaultContext.setData("demo", str);
|
||||
]]>
|
||||
</node>
|
||||
|
||||
<node id="e" type="script" language="js">
|
||||
<![CDATA[
|
||||
var str = demo2.getDemoStr2("kobe");
|
||||
defaultContext.setData("demo", str);
|
||||
]]>
|
||||
</node>
|
||||
</nodes>
|
||||
|
||||
<chain name="chain1">
|
||||
THEN(a,b,c,d);
|
||||
</chain>
|
||||
|
||||
<chain name="chain2">
|
||||
THEN(a,b,c,e);
|
||||
</chain>
|
||||
</flow>
|
||||
Reference in New Issue
Block a user