DBA Data[Home] [Help]

APPS.WF_NOTIFICATION dependencies on WFA_SEC

Line 2563: username := Wfa_Sec.GetUser;

2559: */
2560: if (disptype = wf_notification.doc_html) THEN
2561:
2562: -- Returns session user name if available
2563: username := Wfa_Sec.GetUser;
2564:
2565: fnd_document_management.get_launch_document_url (
2566: username, key, FALSE, launch_url);
2567:

Line 3806: l_from_role := Wfa_Sec.GetUser();

3802: exception
3803: when OTHERS then
3804: wf_core.clear;
3805: -- Check if the notification is sent under a valid Fwk Session
3806: l_from_role := Wfa_Sec.GetUser();
3807: end;
3808:
3809: -- Use dummy user WF_SYSTEM as last resort
3810: if (l_from_role is null) then

Line 4218: if (not Wfa_Sec.CheckSession) then

4214: wf_core.raise('WFNTF_NID_OPEN');
4215: end if;
4216:
4217: -- If we are in a different Fwk session, need to clear Workflow PLSQL state
4218: if (not Wfa_Sec.CheckSession) then
4219: Wf_Global.Init;
4220: end if;
4221:
4222: -- Check role is valid and get mail preference

Line 4249: g_context_proxy := Wfa_Sec.GetUser();

4245: end if;
4246: else
4247: if (action_source = 'WA') then
4248: -- notification is reassigned by a proxy who is logged in and has a Fwk session
4249: g_context_proxy := Wfa_Sec.GetUser();
4250: g_context_user := ForwardInternal.user;
4251: elsif (action_source = 'RULE') then
4252: -- notification is reassigned by Routing Rule, the context user should be the user
4253: -- to whom the rule belongs and to whom the notification is reassigned

Line 4259: g_context_user := Wfa_Sec.GetUser();

4255: g_context_user := ForwardInternal.user;
4256: else
4257: -- notification is reassigned by the recipient
4258: g_context_proxy := null;
4259: g_context_user := Wfa_Sec.GetUser();
4260: end if;
4261: end if;
4262:
4263: g_context_user_comment := forwardinternal.forward_comment;

Line 4597: l_from_role := Wfa_Sec.GetUser();

4593: l_action := 'TIMEOUT';
4594: l_from_role := role;
4595: else
4596: l_action := 'CANCEL';
4597: l_from_role := Wfa_Sec.GetUser();
4598: end if;
4599:
4600: if (l_from_role is null) then
4601: l_from_role := 'WF_SYSTEM';

Line 4849: if (not Wfa_Sec.CheckSession) then

4845: wf_core.raise('WFNTF_NID_OPEN');
4846: end if;
4847:
4848: -- If we are in a different Fwk session, need to clear Workflow PLSQL state
4849: if (not Wfa_Sec.CheckSession) then
4850: Wf_Global.Init;
4851: end if;
4852:
4853: -- Bug 3065814

Line 4865: g_context_proxy := Wfa_Sec.GetUser();

4861: end if;
4862: else
4863: if (action_source = 'WA') then
4864: -- notification is responded by a proxy who is logged in and has a Fwk session
4865: g_context_proxy := Wfa_Sec.GetUser();
4866: l_responder := respond.responder;
4867: elsif (action_source = 'RULE') then
4868: -- notification is responded by Routing Rule, the context user should be the user
4869: -- to whom the rule belongs who is actually responding to the notification

Line 6296: l_sessionUser := Wfa_Sec.GetUser();

6292: , l_orig_nlsNumChars, l_orig_nlsSort, l_orig_nlsCalendar);
6293:
6294: if (l_orig_nlsCalendar is null) then
6295: -- when null (typically, online session), get calendar from user prefs
6296: l_sessionUser := Wfa_Sec.GetUser();
6297: if ( l_logSTMT ) then
6298: wf_log_pkg.String(wf_log_pkg.LEVEL_STATEMENT, l_module
6299: , 'l_sessionUser=>'||l_sessionUser||'<');
6300: end if;

Line 6747: -- use wfa_sec.GetSession() directly.

6743: begin
6744:
6745: -- Framework has control of a session.
6746: -- We are not allowed to re-validate a session any more. So we cannot
6747: -- use wfa_sec.GetSession() directly.
6748: myusername := wfa_sec.GetFWKUserName;
6749:
6750: -- Bug 3065814
6751: -- Set the global context variables to appropriate values for this mode

Line 6748: myusername := wfa_sec.GetFWKUserName;

6744:
6745: -- Framework has control of a session.
6746: -- We are not allowed to re-validate a session any more. So we cannot
6747: -- use wfa_sec.GetSession() directly.
6748: myusername := wfa_sec.GetFWKUserName;
6749:
6750: -- Bug 3065814
6751: -- Set the global context variables to appropriate values for this mode
6752: if (action_source = 'WA') then

Line 6785: if (not Wfa_Sec.CheckSession) then

6781: g_context_new_role := username;
6782: g_context_more_info_role := l_more_info_role;
6783:
6784: -- If we are in a different Fwk session, need to clear Workflow PLSQL state
6785: if (not Wfa_Sec.CheckSession) then
6786: Wf_Global.Init;
6787: end if;
6788:
6789: -- question mode

Line 9163: l_proxy_user := Wfa_Sec.GetUser();

9159: l_action := l_action||'_'||p_action_source;
9160: -- if the action is performed from WA, the user performing the action
9161: -- should be acting as a proxy to another user
9162: if (p_action_source = 'WA') then
9163: l_proxy_user := Wfa_Sec.GetUser();
9164: end if;
9165: end if;
9166:
9167: -- Calculate sequence for comments in the same session