workflow_start.lwm 1.47 KB
Newer Older
Spencer Chang's avatar
Spencer Chang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="execute">
            <bm:parameters>
                <bm:parameter name="transaction_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="user_id" dataType="java.lang.Long" input="true" output="false"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
                begin
                    CSH_TRANSACTION_WFL_PKG.WORKFLOW_START
                    (
                        p_transaction_id=>${@transaction_id},
                        p_user_id=>${/session/@user_id},
                        p_type=>${@type});
                end;]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="update">
            <bm:parameters>
                <bm:parameter name="result_flag" output="true" outputPath="@result_flag"/>
                <bm:parameter name="msg" output="true" outputPath="@msg"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
                begin
                    CSH_WRITE_OFF_PKG.CHECK_WRITE_OFF_DATA
                    (
                        p_transaction_id=>${@transaction_id},
                        p_user_id=>${/session/@user_id},
                        p_result_flag =>${@result_flag},
                        p_msg=>${@msg});
                end;]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>