DBA Data[Home] [Help]

APPS.WF_EVENT dependencies on WF_AGENT_T

Line 207: erragt wf_agent_t;

203: ** saveErrorToQueue (PRIVATE) - Save the event to the WF_ERROR queue.
204: */
205: PROCEDURE saveErrorToQueue(p_event in out nocopy wf_event_t)
206: is
207: erragt wf_agent_t;
208: cmd varchar2(1000);
209: begin
210:
211: if (wf_log_pkg.level_procedure >= fnd_log.g_current_runtime_level) then

Line 217: erragt := wf_agent_t('WF_ERROR', wf_event.local_system_name);

213: 'wf.plsql.WF_EVENT.saveErrorToQueue.Begin',
214: 'saving event to WF_ERROR on '|| wf_event.local_system_name);
215: end if;
216:
217: erragt := wf_agent_t('WF_ERROR', wf_event.local_system_name);
218:
219: --
220: -- mjc - lets just call the API directly
221: --

Line 246: erragt wf_agent_t;

242: ** saveErrorToJavaQueue (PRIVATE) - Save the event to the WF_JAVA_ERROR queue.
243: */
244: PROCEDURE saveErrorToJavaQueue(p_event in out nocopy wf_event_t)
245: is
246: erragt wf_agent_t;
247: cmd varchar2(1000);
248: begin
249:
250: if (wf_log_pkg.level_procedure >= fnd_log.g_current_runtime_level) then

Line 256: erragt := wf_agent_t('WF_JAVA_ERROR', wf_event.local_system_name);

252: 'wf.plsql.WF_EVENT.saveErrorToJavaQueue.Begin',
253: 'saving event to WF_JAVA_ERROR on '|| wf_event.local_system_name);
254: end if;
255:
256: erragt := wf_agent_t('WF_JAVA_ERROR', wf_event.local_system_name);
257:
258: --
259: -- mjc - lets just call the API directly
260: --

Line 471: defagent wf_agent_t;

467: stat varchar2(10);
468: myfunc varchar2(240);
469: saved boolean := FALSE;
470: eguid raw(16);
471: defagent wf_agent_t;
472: subphase number;
473: genmsg boolean := FALSE;
474: max_threshold_reached boolean := FALSE;
475: defer_to_java boolean := FALSE;

Line 824: FUNCTION newAgent(p_agent_guid in raw) return wf_agent_t

820: ---------------------------------------------------------------------------
821: /*
822: ** newAgent -
823: */
824: FUNCTION newAgent(p_agent_guid in raw) return wf_agent_t
825: is
826: agt_name varchar2(30);
827: sys_name varchar2(30);
828:

Line 839: return wf_agent_t(l_agent_obj.NAME, l_agent_obj.SYSTEM_NAME);

835:
836: l_agent_obj := wf_bes_cache.GetAgentByGUID(p_agent_guid);
837:
838: if (l_agent_obj is not null) then
839: return wf_agent_t(l_agent_obj.NAME, l_agent_obj.SYSTEM_NAME);
840: else
841: wf_core.raise('WFE_AGENT_NOTEXIST');
842: end if;
843: exception

Line 2257: p_out_agent_override in wf_agent_t)

2253: /*
2254: ** enqueue -
2255: */
2256: PROCEDURE enqueue(p_event in wf_event_t,
2257: p_out_agent_override in wf_agent_t)
2258: is
2259: cmd varchar2(1000);
2260: qh varchar2(240);
2261: agtname varchar2(30);

Line 2543: defagent wf_agent_t;

2539: */
2540: PROCEDURE DeferEvent(p_source_type in varchar2,
2541: p_event in out nocopy wf_event_t)
2542: is
2543: defagent wf_agent_t;
2544:
2545: begin
2546:
2547: if (wf_log_pkg.level_procedure >= fnd_log.g_current_runtime_level) then

Line 2556: defagent := wf_agent_t('WF_DEFERRED',wf_event.local_system_name);

2552: --
2553: -- Get the Local System Name and set the deferred agent
2554: --
2555:
2556: defagent := wf_agent_t('WF_DEFERRED',wf_event.local_system_name);
2557:
2558: --
2559: -- If the defer is for a local event, set the
2560: -- Deferred Agent/System into the message for

Line 2597: defagent wf_agent_t;

2593: */
2594: PROCEDURE DeferEventToJava(p_source_type in varchar2,
2595: p_event in out nocopy wf_event_t)
2596: is
2597: defagent wf_agent_t;
2598:
2599: begin
2600: if (wf_log_pkg.level_procedure >= fnd_log.g_current_runtime_level) then
2601: wf_log_pkg.string(wf_log_pkg.level_procedure,

Line 2608: defagent := wf_agent_t('WF_JAVA_DEFERRED', wf_event.local_system_name);

2604: end if;
2605: --
2606: -- Get the Local System Name and set the deferred agent
2607: --
2608: defagent := wf_agent_t('WF_JAVA_DEFERRED', wf_event.local_system_name);
2609:
2610: --
2611: -- If the defer is for a local event, set the
2612: -- Deferred Agent/System into the message for