<?xml version="1.0" encoding="UTF-8"?>
<a:service xmlns:p="uncertain.proc" xmlns:a="http://www.leaf-framework.org/application" xmlns:s="leaf.plugin.script" trace="true">
    <a:init-procedure>
        <a:model-delete model="hsbc.HSBC110.hsbc_batch_temp"/>
        <batch-apply sourcePath="/parameter/details">
            <a:model-insert model="hsbc.HSBC110.hsbc_batch_temp"/>
        </batch-apply>

        <s:server-script><![CDATA[
            function main() {
               $bm('sch.SCH111.sch_concurrent_job_submit').insert({
                    task_code:'HSBC_BATCH_SEND',
                    description:'汇丰银行批量发送job'
                });
            }
            main();

            ]]></s:server-script>
        <p:echo/>
    </a:init-procedure>
    <a:service-output output="/parameter"/>
</a:service>