DBA Data[Home] [Help]

APPS.WF_ENGINE dependencies on WF_ENGINE_RAC

Line 3989: WF_ENGINE_RAC.Set_Context('INST_ID', instance_number);

3985: end if;
3986:
3987: --Bug 9527839. RAC enabled workflows
3988: if instance_number > 0 then
3989: WF_ENGINE_RAC.Set_Context('INST_ID', instance_number);
3990: end if;
3991:
3992: -- Call background engine with new args
3993: Wf_Engine.Background(

Line 4067: if WF_ENGINE_RAC.Process_Is_RAC_Enabled(itemtype, process) then

4063: null;
4064: end if;
4065:
4066: --Bug 9527839. RAC enabled workflows
4067: if WF_ENGINE_RAC.Process_Is_RAC_Enabled(itemtype, process) then
4068: if (wf_log_pkg.level_statement >= fnd_log.g_current_runtime_level) then
4069: wf_log_pkg.string(wf_log_pkg.level_statement, l_pkg_name||l_prc_name,
4070: itemtype||' is RAC enabled');
4071: end if;

Line 4079: WF_ENGINE_RAC.Set_Context('INST_ID',nvl(sys_context('WF_RAC_CTX','INST_ID'),

4075: wf_log_pkg.string(wf_log_pkg.level_statement, l_pkg_name||l_prc_name,
4076: 'switching type from '||nvl(setctx_itemtype,'null')||
4077: ' to '||nvl(itemtype, 'null'));
4078: end if;
4079: WF_ENGINE_RAC.Set_Context('INST_ID',nvl(sys_context('WF_RAC_CTX','INST_ID'),
4080: sys_context('userenv', 'instance')));
4081: end if;
4082: else --If not RAC-enabled we'll make sure the context is reset if previously set.
4083: if (wf_log_pkg.level_statement >= fnd_log.g_current_runtime_level) then

Line 4092: WF_ENGINE_RAC.Set_Context('INST_ID', null);

4088: if (wf_log_pkg.level_statement >= fnd_log.g_current_runtime_level) then
4089: wf_log_pkg.string(wf_log_pkg.level_statement, l_pkg_name||l_prc_name,
4090: 'resetting WF_RAC_CTX.INST_ID to null');
4091: end if;
4092: WF_ENGINE_RAC.Set_Context('INST_ID', null);
4093: end if;
4094: end if;
4095:
4096: -- Check for duplicate item