14: is
15: l_func_name VARCHAR2(240);
16: begin
17: l_func_name := upper(p_func_name);
18: if (l_func_name = 'WF_XML.GENERATE') then --
20: x_executed := TRUE;
21: else
22: x_msg := null;
15: l_func_name VARCHAR2(240);
16: begin
17: l_func_name := upper(p_func_name);
18: if (l_func_name = 'WF_XML.GENERATE') then --
19: x_msg := WF_XML.Generate(p_event_name, p_event_key, p_parameter_list);
20: x_executed := TRUE;
21: else
22: x_msg := null;
23: x_executed := FALSE;
59: x_executed := TRUE;
60: elsif (l_func_name = 'WF_RULE.WORKFLOW_PROTOCOL') then
61: x_result := wf_rule.workflow_protocol(p_subscription_guid, p_event);
62: x_executed := TRUE;
63: elsif (l_func_name = 'WF_XML.ERROR_RULE') then
64: x_result := wf_xml.error_rule(p_subscription_guid, p_event);
65: x_executed := TRUE;
66: elsif (l_func_name = 'WF_XML.RECEIVE') then
67: x_result := wf_xml.receive(p_subscription_guid, p_event);
60: elsif (l_func_name = 'WF_RULE.WORKFLOW_PROTOCOL') then
61: x_result := wf_rule.workflow_protocol(p_subscription_guid, p_event);
62: x_executed := TRUE;
63: elsif (l_func_name = 'WF_XML.ERROR_RULE') then
64: x_result := wf_xml.error_rule(p_subscription_guid, p_event);
65: x_executed := TRUE;
66: elsif (l_func_name = 'WF_XML.RECEIVE') then
67: x_result := wf_xml.receive(p_subscription_guid, p_event);
68: x_executed := TRUE;
62: x_executed := TRUE;
63: elsif (l_func_name = 'WF_XML.ERROR_RULE') then
64: x_result := wf_xml.error_rule(p_subscription_guid, p_event);
65: x_executed := TRUE;
66: elsif (l_func_name = 'WF_XML.RECEIVE') then
67: x_result := wf_xml.receive(p_subscription_guid, p_event);
68: x_executed := TRUE;
69: elsif (l_func_name = 'WF_XML.SENDNOTIFICATION') then
70: x_result := wf_xml.sendnotification(p_subscription_guid, p_event);
63: elsif (l_func_name = 'WF_XML.ERROR_RULE') then
64: x_result := wf_xml.error_rule(p_subscription_guid, p_event);
65: x_executed := TRUE;
66: elsif (l_func_name = 'WF_XML.RECEIVE') then
67: x_result := wf_xml.receive(p_subscription_guid, p_event);
68: x_executed := TRUE;
69: elsif (l_func_name = 'WF_XML.SENDNOTIFICATION') then
70: x_result := wf_xml.sendnotification(p_subscription_guid, p_event);
71: x_executed := TRUE;
65: x_executed := TRUE;
66: elsif (l_func_name = 'WF_XML.RECEIVE') then
67: x_result := wf_xml.receive(p_subscription_guid, p_event);
68: x_executed := TRUE;
69: elsif (l_func_name = 'WF_XML.SENDNOTIFICATION') then
70: x_result := wf_xml.sendnotification(p_subscription_guid, p_event);
71: x_executed := TRUE;
72: elsif (l_func_name = 'WF_XML.SUMMARYRULE') then
73: x_result := wf_xml.summaryrule(p_subscription_guid, p_event);
66: elsif (l_func_name = 'WF_XML.RECEIVE') then
67: x_result := wf_xml.receive(p_subscription_guid, p_event);
68: x_executed := TRUE;
69: elsif (l_func_name = 'WF_XML.SENDNOTIFICATION') then
70: x_result := wf_xml.sendnotification(p_subscription_guid, p_event);
71: x_executed := TRUE;
72: elsif (l_func_name = 'WF_XML.SUMMARYRULE') then
73: x_result := wf_xml.summaryrule(p_subscription_guid, p_event);
74: x_executed := TRUE;
68: x_executed := TRUE;
69: elsif (l_func_name = 'WF_XML.SENDNOTIFICATION') then
70: x_result := wf_xml.sendnotification(p_subscription_guid, p_event);
71: x_executed := TRUE;
72: elsif (l_func_name = 'WF_XML.SUMMARYRULE') then
73: x_result := wf_xml.summaryrule(p_subscription_guid, p_event);
74: x_executed := TRUE;
75: else
76: x_result := null;
69: elsif (l_func_name = 'WF_XML.SENDNOTIFICATION') then
70: x_result := wf_xml.sendnotification(p_subscription_guid, p_event);
71: x_executed := TRUE;
72: elsif (l_func_name = 'WF_XML.SUMMARYRULE') then
73: x_result := wf_xml.summaryrule(p_subscription_guid, p_event);
74: x_executed := TRUE;
75: else
76: x_result := null;
77: x_executed := FALSE;