<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:f="leaf.database.features" xmlns:bm="http://www.leaf-framework.org/schema/bm" >
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
             select elec_wfl_pkg.get_sql_value(p_e_archives_id  =>${@e_archives_id},
                                               p_instance_id    =>${@document_id},
                                               p_sql_type       =>'JE_DATA_JSON',
                                               p_workflow_id    =>${@workflow_id},
                                               p_user_id        =>${/session/@user_id}) je_data_json from dual
                #WHERE_CLAUSE#
             ]]></bm:query-sql>
        </bm:operation>
    </bm:operations>
    <bm:fields>
        <bm:field name="je_data_json"/>
    </bm:fields>
</bm:model>
