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

    <nodes>
        <node id="d" type="script">
            <![CDATA[
                a=6
                b=10
                if a>5:
                    b=5
                    print 'hello'
                else:
                    print 'hi'
                order.setOrderType(a*b)
                checkContext.setSign(_meta.get("nodeId"))
                order2Context.setOrderNo("order2")
            ]]>
        </node>

        <node id="e" type="script">
            <![CDATA[
                orderNo = order.getOrderNo()
                print orderNo
                sign = checkContext.getSign()
                print sign
                orderNo2 = order2Context.getOrderNo()
                print orderNo2
            ]]>
        </node>
    </nodes>

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

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

</flow>