DBA Data[Home] [Help]

APPS.PER_RESPOWNER_UTIL_SS dependencies on WF_ENGINE

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

182: IF (username is null) THEN
183: return;
184: END IF;
185:
186: wf_engine.SetItemAttrText(itemtype => itemtype,
187: itemkey => itemkey,
188: aname => 'HR_REVOKE_ACCESS_USER_NAME',
189: avalue => username);
190:

Line 191: wf_engine.CompleteActivity(itemtype => itemtype,

187: itemkey => itemkey,
188: aname => 'HR_REVOKE_ACCESS_USER_NAME',
189: avalue => username);
190:
191: wf_engine.CompleteActivity(itemtype => itemtype,
192: itemkey => itemkey,
193: activity => activity,
194: result => result);
195: EXCEPTION

Line 202: wf_engine.HandleError(itemtype => itemtype,

198: if( l_exp_level >= l_debug_level ) then
199: fnd_log.string(fnd_log.level_exception,
200: 'per.plsql.'||gv_package||'.CompleteNotiActivity', 'Exception, Could not send notification to Revoke user : '||username);
201: end if;
202: wf_engine.HandleError(itemtype => itemtype,
203: itemkey => itemkey,
204: activity => activity,
205: command => 'RETRY');
206: END CompleteNotiActivity;

Line 232: wf_engine.CreateProcess(itemtype => 'RESPOWN',

228: ' , itemtype : RESPOWN, itemKey : '||p_seq);
229: end if;
230:
231: -- Create the notfication workflow process
232: wf_engine.CreateProcess(itemtype => 'RESPOWN',
233: itemkey => p_seq,
234: process => 'HR_REVOKE_ACCESS_JSP_PRC');
235: -- set the owner
236: wf_engine.SetItemOwner(itemtype=> 'RESPOWN'

Line 236: wf_engine.SetItemOwner(itemtype=> 'RESPOWN'

232: wf_engine.CreateProcess(itemtype => 'RESPOWN',
233: itemkey => p_seq,
234: process => 'HR_REVOKE_ACCESS_JSP_PRC');
235: -- set the owner
236: wf_engine.SetItemOwner(itemtype=> 'RESPOWN'
237: ,itemkey => p_seq
238: ,owner => p_owner);
239: -- set other required attributes
240: wf_engine.SetItemAttrText(itemtype => 'RESPOWN',

Line 240: wf_engine.SetItemAttrText(itemtype => 'RESPOWN',

236: wf_engine.SetItemOwner(itemtype=> 'RESPOWN'
237: ,itemkey => p_seq
238: ,owner => p_owner);
239: -- set other required attributes
240: wf_engine.SetItemAttrText(itemtype => 'RESPOWN',
241: itemkey => p_seq,
242: aname => 'FROM_USER_NAME',
243: avalue => p_owner);
244:

Line 245: wf_engine.SetItemAttrText(itemtype => 'RESPOWN',

241: itemkey => p_seq,
242: aname => 'FROM_USER_NAME',
243: avalue => p_owner);
244:
245: wf_engine.SetItemAttrText(itemtype => 'RESPOWN',
246: itemkey => p_seq,
247: aname => 'RESPONSIBILITY',
248: avalue => p_resp_name);
249:

Line 250: wf_engine.SetItemAttrText(itemtype => 'RESPOWN',

246: itemkey => p_seq,
247: aname => 'RESPONSIBILITY',
248: avalue => p_resp_name);
249:
250: wf_engine.SetItemAttrText(itemtype => 'RESPOWN',
251: itemkey => p_seq,
252: aname => 'JUSTIFICATION',
253: avalue => getValueForParameter('MESSAGE',
254: p_parameters));

Line 257: wf_engine.StartProcess(itemtype => 'RESPOWN',

253: avalue => getValueForParameter('MESSAGE',
254: p_parameters));
255:
256: -- Start the notfication workflow process
257: wf_engine.StartProcess(itemtype => 'RESPOWN',
258: itemkey => p_seq);
259:
260:
261: -- get the block activity id

Line 262: block_actid := wf_engine.GetItemAttrNumber(itemtype => 'RESPOWN',

258: itemkey => p_seq);
259:
260:
261: -- get the block activity id
262: block_actid := wf_engine.GetItemAttrNumber(itemtype => 'RESPOWN',
263: itemkey => p_seq,
264: aname => 'HR_REVOKE_ACCESS_BLOCK_ACTID');
265:
266: if( l_stat_level >= l_debug_level ) then

Line 279: activity => wf_engine.GetActivityLabel(block_actid),

275: IF(l_noti_ref_cursor%FOUND) THEN
276: CompleteNotiActivity(username => l_user_name,
277: itemtype => 'RESPOWN',
278: itemkey => p_seq,
279: activity => wf_engine.GetActivityLabel(block_actid),
280: result => 'Y');
281: l_user_name := null;
282: END IF;
283: EXIT WHEN l_noti_ref_cursor%NOTFOUND;

Line 288: wf_engine.CompleteActivity(itemtype => 'RESPOWN',

284: END LOOP;
285: CLOSE l_noti_ref_cursor; -- close cursor variable
286:
287: -- Now end the process
288: wf_engine.CompleteActivity(itemtype => 'RESPOWN',
289: itemkey => p_seq,
290: activity => wf_engine.GetActivityLabel(block_actid),
291: result => 'N');
292:

Line 290: activity => wf_engine.GetActivityLabel(block_actid),

286:
287: -- Now end the process
288: wf_engine.CompleteActivity(itemtype => 'RESPOWN',
289: itemkey => p_seq,
290: activity => wf_engine.GetActivityLabel(block_actid),
291: result => 'N');
292:
293: if( l_event_level >= l_debug_level ) then
294: fnd_log.string(fnd_log.level_event,

Line 376: if (funmode <> wf_engine.eng_run) then

372: --local variables
373:
374: BEGIN
375: -- Do nothing in cancel or timeout mode
376: if (funmode <> wf_engine.eng_run) then
377: result := wf_engine.eng_null;
378: return;
379: end if;
380: -- set the item attribute value with the current activity id

Line 377: result := wf_engine.eng_null;

373:
374: BEGIN
375: -- Do nothing in cancel or timeout mode
376: if (funmode <> wf_engine.eng_run) then
377: result := wf_engine.eng_null;
378: return;
379: end if;
380: -- set the item attribute value with the current activity id
381: -- this will be used when the revoke access user notification is sent.

Line 384: wf_engine.setitemattrnumber(itemtype,itemkey,'HR_REVOKE_ACCESS_BLOCK_ACTID',actid);

380: -- set the item attribute value with the current activity id
381: -- this will be used when the revoke access user notification is sent.
382: -- and to complete the blocked thread.
383: -- HR_REVOKE_ACCESS_USER_NAME
384: wf_engine.setitemattrnumber(itemtype,itemkey,'HR_REVOKE_ACCESS_BLOCK_ACTID',actid);
385: WF_STANDARD.BLOCK(itemtype,itemkey,actid,funmode,result);
386:
387: --resultout := 'NOTIFIED';
388: