DBA Data[Home] [Help]

APPS.WF_EVENT dependencies on WF_AGENT_T

Line 190: erragt wf_agent_t;

186: ** saveErrorToQueue (PRIVATE) - Save the event to the WF_ERROR queue.
187: */
188: PROCEDURE saveErrorToQueue(p_event in out nocopy wf_event_t)
189: is
190: erragt wf_agent_t;
191: cmd varchar2(1000);
192: begin
193:
194: if (wf_log_pkg.level_procedure >= fnd_log.g_current_runtime_level) then

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

196: 'wf.plsql.WF_EVENT.saveErrorToQueue.Begin',
197: 'saving event to WF_ERROR on '|| wf_event.local_system_name);
198: end if;
199:
200: erragt := wf_agent_t('WF_ERROR', wf_event.local_system_name);
201:
202: --
203: -- mjc - lets just call the API directly
204: --

Line 229: erragt wf_agent_t;

225: ** saveErrorToJavaQueue (PRIVATE) - Save the event to the WF_JAVA_ERROR queue.
226: */
227: PROCEDURE saveErrorToJavaQueue(p_event in out nocopy wf_event_t)
228: is
229: erragt wf_agent_t;
230: cmd varchar2(1000);
231: begin
232:
233: if (wf_log_pkg.level_procedure >= fnd_log.g_current_runtime_level) then

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

235: 'wf.plsql.WF_EVENT.saveErrorToJavaQueue.Begin',
236: 'saving event to WF_JAVA_ERROR on '|| wf_event.local_system_name);
237: end if;
238:
239: erragt := wf_agent_t('WF_JAVA_ERROR', wf_event.local_system_name);
240:
241: --
242: -- mjc - lets just call the API directly
243: --

Line 454: defagent wf_agent_t;

450: stat varchar2(10);
451: myfunc varchar2(240);
452: saved boolean := FALSE;
453: eguid raw(16);
454: defagent wf_agent_t;
455: subphase number;
456: genmsg boolean := FALSE;
457: max_threshold_reached boolean := FALSE;
458: defer_to_java boolean := FALSE;

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

790: ---------------------------------------------------------------------------
791: /*
792: ** newAgent -
793: */
794: FUNCTION newAgent(p_agent_guid in raw) return wf_agent_t
795: is
796: agt_name varchar2(30);
797: sys_name varchar2(30);
798:

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

805:
806: l_agent_obj := wf_bes_cache.GetAgentByGUID(p_agent_guid);
807:
808: if (l_agent_obj is not null) then
809: return wf_agent_t(l_agent_obj.NAME, l_agent_obj.SYSTEM_NAME);
810: else
811: wf_core.raise('WFE_AGENT_NOTEXIST');
812: end if;
813: exception

Line 2200: p_out_agent_override in wf_agent_t)

2196: /*
2197: ** enqueue -
2198: */
2199: PROCEDURE enqueue(p_event in wf_event_t,
2200: p_out_agent_override in wf_agent_t)
2201: is
2202: cmd varchar2(1000);
2203: qh varchar2(240);
2204: agtname varchar2(30);

Line 2486: defagent wf_agent_t;

2482: */
2483: PROCEDURE DeferEvent(p_source_type in varchar2,
2484: p_event in out nocopy wf_event_t)
2485: is
2486: defagent wf_agent_t;
2487:
2488: begin
2489:
2490: if (wf_log_pkg.level_procedure >= fnd_log.g_current_runtime_level) then

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

2495: --
2496: -- Get the Local System Name and set the deferred agent
2497: --
2498:
2499: defagent := wf_agent_t('WF_DEFERRED',wf_event.local_system_name);
2500:
2501: --
2502: -- If the defer is for a local event, set the
2503: -- Deferred Agent/System into the message for

Line 2540: defagent wf_agent_t;

2536: */
2537: PROCEDURE DeferEventToJava(p_source_type in varchar2,
2538: p_event in out nocopy wf_event_t)
2539: is
2540: defagent wf_agent_t;
2541:
2542: begin
2543: if (wf_log_pkg.level_procedure >= fnd_log.g_current_runtime_level) then
2544: wf_log_pkg.string(wf_log_pkg.level_procedure,

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

2547: end if;
2548: --
2549: -- Get the Local System Name and set the deferred agent
2550: --
2551: defagent := wf_agent_t('WF_JAVA_DEFERRED', wf_event.local_system_name);
2552:
2553: --
2554: -- If the defer is for a local event, set the
2555: -- Deferred Agent/System into the message for