<?xml version="1.0" encoding="UTF-8"?> <a:service trace="true" xmlns:a="http://www.leaf-framework.org/application" xmlns:p="uncertain.proc"> <a:init-procedure> <a:batch-apply sourcepath="/parameter"> <p:switch test="@current_parameter/@_status"> <p:case value="update"> <a:model-update model="sys.SYS1090.sys_business_objects" /> </p:case> <p:case value="delete"> <p:method-invoke className="leaf.application.features.cstm.CustomSourceCode" methodName="deleteBusinessObject"> <p:arguments> <p:argument path="instance" type="uncertain.ocm.IObjectRegistry"/> <p:argument type="java.lang.Long" value="${/@current_parameter/@object_id}"/> </p:arguments> </p:method-invoke> <a:model-delete model="sys.SYS1090.sys_business_objects" /> <a:model-delete model="sys.SYS1090.sys_business_flexfields" /> </p:case> </p:switch> </a:batch-apply> </a:init-procedure> <a:service-output output="/parameter" /> </a:service>