DBA Data[Home] [Help]

APPS.WF_EVENT_PING_PKG dependencies on WF_ENGINE

Line 106: l_outAgent := wf_engine.GetItemAttrText(itemtype => itemtype,

102: begin
103:
104: if (funcmode = 'RUN') then
105:
106: l_outAgent := wf_engine.GetItemAttrText(itemtype => itemtype,
107: itemkey => itemkey, aname => 'OUTAGENT');
108: -- If Out Agent is provided, validate it
109: ValidateOutAgent(l_outAgent);
110:

Line 111: l_toAgent := wf_engine.GetItemAttrText(itemtype => itemtype,

107: itemkey => itemkey, aname => 'OUTAGENT');
108: -- If Out Agent is provided, validate it
109: ValidateOutAgent(l_outAgent);
110:
111: l_toAgent := wf_engine.GetItemAttrText(itemtype => itemtype,
112: itemkey => itemkey, aname => 'TOAGENT');
113:
114: -- If To Agent is provided, validate it
115: if (l_toAgent is not null) then

Line 127: l_eventname := wf_engine.GetActivityAttrText(

123: l_to_agent_name := substr(l_toAgent, 1, l_atsign-1);
124: l_to_sys_name := substr(l_toAgent, l_atsign+1);
125: end if;
126:
127: l_eventname := wf_engine.GetActivityAttrText(
128: itemtype => itemtype,
129: itemkey => itemkey,
130: actid => actid,
131: aname => 'EVNTNAME');

Line 141: wf_engine.CreateProcess(

137: --
138: l_eventkey := x.agent||'@'||x.system||'@'||itemkey;
139: l_itemkey := l_eventkey;
140:
141: wf_engine.CreateProcess(
142: itemtype => itemtype,
143: itemkey => l_itemkey,
144: process => 'WFDTLPNG');
145:

Line 146: wf_engine.SetItemAttrText(itemtype => itemtype,

142: itemtype => itemtype,
143: itemkey => l_itemkey,
144: process => 'WFDTLPNG');
145:
146: wf_engine.SetItemAttrText(itemtype => itemtype,
147: itemkey => l_itemkey, aname => 'OUTAGENT'
148: , avalue => l_outAgent);
149:
150: wf_engine.SetItemAttrText(

Line 150: wf_engine.SetItemAttrText(

146: wf_engine.SetItemAttrText(itemtype => itemtype,
147: itemkey => l_itemkey, aname => 'OUTAGENT'
148: , avalue => l_outAgent);
149:
150: wf_engine.SetItemAttrText(
151: itemtype => itemtype,
152: itemkey => l_itemkey,
153: aname => 'EVNTNAME',
154: avalue => l_eventname);

Line 156: wf_engine.SetItemAttrText(

152: itemkey => l_itemkey,
153: aname => 'EVNTNAME',
154: avalue => l_eventname);
155:
156: wf_engine.SetItemAttrText(
157: itemtype => itemtype,
158: itemkey => l_itemkey,
159: aname => 'EVNTKEY',
160: avalue => l_eventkey);

Line 162: wf_engine.SetItemAttrText(

158: itemkey => l_itemkey,
159: aname => 'EVNTKEY',
160: avalue => l_eventkey);
161:
162: wf_engine.SetItemAttrText(
163: itemtype => itemtype,
164: itemkey => l_itemkey,
165: aname => 'TOAGENT',
166: avalue => x.agent||'@'||x.system);

Line 176: wf_engine.SetItemAttrEvent(

172: dbms_lob.createtemporary(l_clob, FALSE, DBMS_LOB.CALL);
173: dbms_lob.write(l_clob, length(l_msg), 1 , l_msg);
174: l_event_t.SetEventData(l_clob);
175:
176: wf_engine.SetItemAttrEvent(
177: itemtype => itemtype,
178: itemkey => l_itemkey,
179: name => 'EVNTMSG',
180: event => l_event_t);

Line 182: wf_engine.SetItemParent(

178: itemkey => l_itemkey,
179: name => 'EVNTMSG',
180: event => l_event_t);
181:
182: wf_engine.SetItemParent(
183: itemtype => itemtype,
184: itemkey => l_itemkey,
185: parent_itemtype => itemtype,
186: parent_itemkey => itemkey,

Line 189: wf_engine.StartProcess(

185: parent_itemtype => itemtype,
186: parent_itemkey => itemkey,
187: parent_context => null);
188:
189: wf_engine.StartProcess(
190: itemtype => itemtype,
191: itemkey => l_itemkey);
192:
193: end loop;

Line 195: resultout := wf_engine.eng_completed||':'||wf_engine.eng_null;

191: itemkey => l_itemkey);
192:
193: end loop;
194:
195: resultout := wf_engine.eng_completed||':'||wf_engine.eng_null;
196:
197: return;
198:
199: elsif (funcmode = 'CANCEL') then