<?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 = demo.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>