<?xml version="1.0" encoding="UTF-8"?>
<flow>

    <nodes>
        <node id="d" type="script" language="groovy">
            <![CDATA[
                def str = demo.getDemoStr1()
                defaultContext.setData("demo", str)
            ]]>
        </node>

        <node id="e" type="script" language="groovy">
            <![CDATA[
                def str = demo.getDemoStr2("kobe")
                defaultContext.setData("demo", str)
            ]]>
        </node>

        <node id="s1" type="script" language="groovy">
            <![CDATA[
            def str = demo3.test1("kobe")
            defaultContext.setData("demo", str)
            ]]>
        </node>

        <node id="s2" type="script" language="groovy">
            <![CDATA[
            def str = demo3.test3("kobe")
            defaultContext.setData("demo", str)
            ]]>
        </node>

        <node id="s3" type="script" language="groovy">
            <![CDATA[
            def str = demo4.test1("kobe")
            defaultContext.setData("demo", str)
            ]]>
        </node>

        <node id="s4" type="script" language="groovy">
            <![CDATA[
            def str = demo4.test3("kobe")
            defaultContext.setData("demo", str)
            ]]>
        </node>

        <node id="s5" type="script" language="groovy">
            <![CDATA[
            def str = demo.getDemoStr1()
            abcCx.put("demo", str)
            ]]>
        </node>

        <node id="f" type="script" language="groovy">
            <![CDATA[
            def str = demo5.getDemoStr2("jordan")
            defaultContext.setData("demo", str)
            ]]>
        </node>
    </nodes>

    <chain name="chain1">
        THEN(a,b,c,d);
    </chain>

    <chain name="chain2">
        THEN(a,b,c,e);
    </chain>

    <chain name="chain3">
        THEN(a,b,c,s1);
    </chain>

    <chain name="chain4">
        THEN(a,b,c,s2);
    </chain>

    <chain name="chain5">
        THEN(a,b,c,s3);
    </chain>

    <chain name="chain6">
        THEN(a,b,c,s4);
    </chain>

    <chain name="chain7">
        THEN(a,b,c,s5);
    </chain>

    <chain name="chain8">
        THEN(a,b,c,f);
    </chain>
</flow>