DBA Data[Home] [Help]

APPS.WF_ENGINE dependencies on FND_LOG

Line 4068: if (wf_log_pkg.level_statement >= fnd_log.g_current_runtime_level) then

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;
4072: --If item type is the same as the previous one do not set the context again

Line 4074: if (wf_log_pkg.level_statement >= fnd_log.g_current_runtime_level) then

4070: itemtype||' is RAC enabled');
4071: end if;
4072: --If item type is the same as the previous one do not set the context again
4073: if CreateProcess.itemtype<>setctx_itemtype or setctx_itemtype is null then
4074: if (wf_log_pkg.level_statement >= fnd_log.g_current_runtime_level) then
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;

Line 4083: if (wf_log_pkg.level_statement >= fnd_log.g_current_runtime_level) then

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
4084: wf_log_pkg.string(wf_log_pkg.level_statement, l_pkg_name||l_prc_name,
4085: itemtype||' is not RAC enabled');
4086: end if;
4087: if sys_context('WF_RAC_CTX', 'INST_ID') is not null then

Line 4088: if (wf_log_pkg.level_statement >= fnd_log.g_current_runtime_level) then

4084: wf_log_pkg.string(wf_log_pkg.level_statement, l_pkg_name||l_prc_name,
4085: itemtype||' is not RAC enabled');
4086: end if;
4087: if sys_context('WF_RAC_CTX', 'INST_ID') is not null then
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);