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

    <nodes>
        <node id="d" type="script" language="kotlin">
            <![CDATA[
                import com.yomahub.liteflow.test.script.kotlin.contextbean.bean.*

                var order = bindings["order"] as OrderContext
                var checkContext = bindings["checkContext"] as CheckContext
                var order2Context = bindings["order2Context"] as Order2Context

                order.setOrderNo("order1")
                checkContext.setSign("sign1")
                order2Context.setOrderNo("order2")
            ]]>
        </node>

        <node id="e" type="script" language="kotlin">
            <![CDATA[
                import com.yomahub.liteflow.test.script.kotlin.contextbean.bean.*

                var order = bindings["order"] as OrderContext
                var checkContext = bindings["checkContext"] as CheckContext
                var order2Context = bindings["order2Context"] as Order2Context

                var orderNo = order.getOrderNo()
                println(orderNo)
                var sign = checkContext.getSign()
                println(sign)
                var orderNo2 = order2Context.getOrderNo()
                println(orderNo2)
            ]]>
        </node>
    </nodes>

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

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

</flow>