14: l_dnis VARCHAR2(32);
15: l_call_ID VARCHAR2(32);
16: l_static_group VARCHAR2(64);
17: BEGIN
18: resultout := wf_engine.eng_completed ;
19: if (funmode = 'RUN') then
20: l_dnis := WF_ENGINE.GetItemAttrText(
21: itemtype, itemkey, 'OCCTDNIS');
22: l_call_ID := WF_ENGINE.GetItemAttrText(
16: l_static_group VARCHAR2(64);
17: BEGIN
18: resultout := wf_engine.eng_completed ;
19: if (funmode = 'RUN') then
20: l_dnis := WF_ENGINE.GetItemAttrText(
21: itemtype, itemkey, 'OCCTDNIS');
22: l_call_ID := WF_ENGINE.GetItemAttrText(
23: itemtype, itemkey, 'OCCTMEDIAITEMID');
24: if ((l_dnis is null) or (l_call_id is null) ) THEN
18: resultout := wf_engine.eng_completed ;
19: if (funmode = 'RUN') then
20: l_dnis := WF_ENGINE.GetItemAttrText(
21: itemtype, itemkey, 'OCCTDNIS');
22: l_call_ID := WF_ENGINE.GetItemAttrText(
23: itemtype, itemkey, 'OCCTMEDIAITEMID');
24: if ((l_dnis is null) or (l_call_id is null) ) THEN
25: return;
26: end if;