43: resultout := wf_engine.eng_completed||':N';
44:
45: if (funmode = 'RUN') then
46: l_partyID := WF_ENGINE.GetItemAttrNumber(
47: itemtype, itemkey, upper(CCT_INTERACTIONKEYS_PUB.KEY_CUSTOMER_ID));
48: l_mediaItemID := WF_ENGINE.GetItemAttrText(
49: itemtype, itemkey, upper(CCT_INTERACTIONKEYS_PUB.KEY_MEDIA_ITEM_ID));
50:
51:
45: if (funmode = 'RUN') then
46: l_partyID := WF_ENGINE.GetItemAttrNumber(
47: itemtype, itemkey, upper(CCT_INTERACTIONKEYS_PUB.KEY_CUSTOMER_ID));
48: l_mediaItemID := WF_ENGINE.GetItemAttrText(
49: itemtype, itemkey, upper(CCT_INTERACTIONKEYS_PUB.KEY_MEDIA_ITEM_ID));
50:
51:
52: IF ( (l_partyID IS NULL) OR (l_mediaItemID IS NULL) ) THEN
53: return;
105: resultout := wf_engine.eng_completed||':N';
106:
107: if (funmode = 'RUN') then
108: l_SourceCode := WF_ENGINE.GetItemAttrText(
109: itemtype, itemkey, upper(CCT_INTERACTIONKEYS_PUB.KEY_SOURCE_CODE));
110: l_mediaItemID := WF_ENGINE.GetItemAttrText(
111: itemtype, itemkey, upper(CCT_INTERACTIONKEYS_PUB.KEY_MEDIA_ITEM_ID));
112: --dbms_output.put_line('SourceCode='||l_sourcecode);
113:
107: if (funmode = 'RUN') then
108: l_SourceCode := WF_ENGINE.GetItemAttrText(
109: itemtype, itemkey, upper(CCT_INTERACTIONKEYS_PUB.KEY_SOURCE_CODE));
110: l_mediaItemID := WF_ENGINE.GetItemAttrText(
111: itemtype, itemkey, upper(CCT_INTERACTIONKEYS_PUB.KEY_MEDIA_ITEM_ID));
112: --dbms_output.put_line('SourceCode='||l_sourcecode);
113:
114: IF ( (l_SourceCode IS NULL) OR (l_mediaItemID IS NULL) ) THEN
115: return;