DBA Data[Home] [Help]

APPS.JTF_UM_FORGOT_PASSWD dependencies on WF_ENGINE

Line 72: l_user_name := WF_ENGINE.GetItemAttrText(itemtype, itemkey,

68:
69:
70: -- code for validating the generated username
71: -- get the username
72: l_user_name := WF_ENGINE.GetItemAttrText(itemtype, itemkey,
73: 'X_USER_NAME');
74:
75: -- loop till password clears the validations
76: l_result := FND_WEB_SEC.validate_password( l_user_name, l_password );

Line 91: wf_engine.SetItemAttrText

87: END IF;
88: END LOOP;
89: -- end of code for validating username
90:
91: wf_engine.SetItemAttrText
92: (itemtype => itemtype,
93: itemkey => itemkey,
94: aname => 'X_UNENCRYPTED_PASSWORD',
95: avalue => l_password);

Line 98: resultout := WF_ENGINE.eng_completed || ':' || WF_ENGINE.eng_null;

94: aname => 'X_UNENCRYPTED_PASSWORD',
95: avalue => l_password);
96:
97: end if;
98: resultout := WF_ENGINE.eng_completed || ':' || WF_ENGINE.eng_null;
99:
100: exception
101: when others then
102: Wf_Core.Context('FND_WF_STANDARD', 'SetPassword', itemtype, itemkey,

Line 249: l_user_name := WF_ENGINE.GetActivityAttrText(itemtype, itemkey, actid,

245: begin
246:
247: if (funcmode = 'RUN') then
248:
249: l_user_name := WF_ENGINE.GetActivityAttrText(itemtype, itemkey, actid,
250: 'X_USER_NAME');
251: FND_USER_PKG.UpdateUser(
252: x_user_name=> l_user_name,
253: x_owner=>'CUST',

Line 255: WF_ENGINE.GetActivityAttrText(itemtype, itemkey, actid,

251: FND_USER_PKG.UpdateUser(
252: x_user_name=> l_user_name,
253: x_owner=>'CUST',
254: x_unencrypted_password=>
255: WF_ENGINE.GetActivityAttrText(itemtype, itemkey, actid,
256: 'X_UNENCRYPTED_PASSWORD',
257: TRUE),
258: -- setting password date to null for force passwd change for user
259: x_password_date=> fnd_user_pkg.null_date,

Line 262: WF_ENGINE.GetActivityAttrDate(itemtype, itemkey, actid,

258: -- setting password date to null for force passwd change for user
259: x_password_date=> fnd_user_pkg.null_date,
260: /*
261: x_password_date=>
262: WF_ENGINE.GetActivityAttrDate(itemtype, itemkey, actid,
263: 'X_PASSWORD_DATE', TRUE),
264: */
265: x_password_accesses_left=>
266: WF_ENGINE.GetActivityAttrNumber(itemtype, itemkey, actid,

Line 266: WF_ENGINE.GetActivityAttrNumber(itemtype, itemkey, actid,

262: WF_ENGINE.GetActivityAttrDate(itemtype, itemkey, actid,
263: 'X_PASSWORD_DATE', TRUE),
264: */
265: x_password_accesses_left=>
266: WF_ENGINE.GetActivityAttrNumber(itemtype, itemkey, actid,
267: 'X_PASSWORD_ACCESSES_LEFT',
268: TRUE),
269: x_password_lifespan_accesses=>
270: WF_ENGINE.GetActivityAttrNumber(itemtype, itemkey, actid,

Line 270: WF_ENGINE.GetActivityAttrNumber(itemtype, itemkey, actid,

266: WF_ENGINE.GetActivityAttrNumber(itemtype, itemkey, actid,
267: 'X_PASSWORD_ACCESSES_LEFT',
268: TRUE),
269: x_password_lifespan_accesses=>
270: WF_ENGINE.GetActivityAttrNumber(itemtype, itemkey, actid,
271: 'X_PASSWORD_LIFESPAN_ACCESSES',
272: TRUE),
273: x_password_lifespan_days=>
274: WF_ENGINE.GetActivityAttrNumber(itemtype, itemkey, actid,

Line 274: WF_ENGINE.GetActivityAttrNumber(itemtype, itemkey, actid,

270: WF_ENGINE.GetActivityAttrNumber(itemtype, itemkey, actid,
271: 'X_PASSWORD_LIFESPAN_ACCESSES',
272: TRUE),
273: x_password_lifespan_days=>
274: WF_ENGINE.GetActivityAttrNumber(itemtype, itemkey, actid,
275: 'X_PASSWORD_LIFESPAN_DAYS',
276: TRUE));
277:
278:

Line 289: resultout := WF_ENGINE.eng_completed || ':' || WF_ENGINE.eng_null;

285: password_date = null
286: where user_name = l_user_name;
287: */
288:
289: resultout := WF_ENGINE.eng_completed || ':' || WF_ENGINE.eng_null;
290:
291: else
292: resultout := WF_ENGINE.eng_completed || ':' || WF_ENGINE.eng_null;
293:

Line 292: resultout := WF_ENGINE.eng_completed || ':' || WF_ENGINE.eng_null;

288:
289: resultout := WF_ENGINE.eng_completed || ':' || WF_ENGINE.eng_null;
290:
291: else
292: resultout := WF_ENGINE.eng_completed || ':' || WF_ENGINE.eng_null;
293:
294: end if;
295:
296: exception

Line 340: l_user_name := upper(WF_ENGINE.GetItemAttrText(itemtype, itemkey,

336:
337: begin
338:
339: if (funcmode = 'RUN') then
340: l_user_name := upper(WF_ENGINE.GetItemAttrText(itemtype, itemkey,
341: 'X_USER_NAME'));
342: l_user_role := 'FNDPWD_'||itemkey||l_user_name;
343:
344: -- check to see if the user has notification pref set to mail. if not

Line 383: wf_engine.SetItemAttrText

379:
380:
381: -- set the role in fnd_user workflow to the new role
382:
383: wf_engine.SetItemAttrText
384: (itemtype => itemtype,
385: itemkey => itemkey,
386: aname => 'X_USER_ROLE',
387: avalue => l_user_role);

Line 390: resultout := WF_ENGINE.eng_completed || ':' || WF_ENGINE.eng_null;

386: aname => 'X_USER_ROLE',
387: avalue => l_user_role);
388:
389: end if;
390: resultout := WF_ENGINE.eng_completed || ':' || WF_ENGINE.eng_null;
391: exception
392: when others then
393: Wf_Core.Context('FND_WF_STANDARD', 'CreateRole', itemtype, itemkey,
394: actid);

Line 544: wf_engine.CreateProcess(itemtype => 'JTFFPWD',

540:
541: -- start the workflow that will send the notification and reset
542: -- the password
543:
544: wf_engine.CreateProcess(itemtype => 'JTFFPWD',
545: itemkey => seq,
546: process => 'RESETPASSWD');
547: wf_engine.SetItemAttrText(itemtype => 'JTFFPWD',
548: itemkey => seq,

Line 547: wf_engine.SetItemAttrText(itemtype => 'JTFFPWD',

543:
544: wf_engine.CreateProcess(itemtype => 'JTFFPWD',
545: itemkey => seq,
546: process => 'RESETPASSWD');
547: wf_engine.SetItemAttrText(itemtype => 'JTFFPWD',
548: itemkey => seq,
549: aname => 'X_USER_NAME',
550: avalue => p_name);
551:

Line 553: wf_engine.SetItemAttrText(itemtype => 'JTFFPWD',

549: aname => 'X_USER_NAME',
550: avalue => p_name);
551:
552: if p_user_appr_msg_name is not null then
553: wf_engine.SetItemAttrText(itemtype => 'JTFFPWD',
554: itemkey => seq,
555: aname => 'APPR_MESSAGE',
556: avalue => p_user_appr_msg_name);
557: end if;

Line 560: wf_engine.SetItemAttrText(itemtype => 'JTFFPWD',

556: avalue => p_user_appr_msg_name);
557: end if;
558:
559: if p_pwd_reset_msg_name is not null then
560: wf_engine.SetItemAttrText(itemtype => 'JTFFPWD',
561: itemkey => seq,
562: aname => 'CONFIRM_MSG',
563: avalue => p_pwd_reset_msg_name);
564: end if;

Line 566: wf_engine.StartProcess(itemtype => 'JTFFPWD',

562: aname => 'CONFIRM_MSG',
563: avalue => p_pwd_reset_msg_name);
564: end if;
565:
566: wf_engine.StartProcess(itemtype => 'JTFFPWD',
567: itemkey => seq);
568:
569:
570: fnd_message.set_name('JTF','JTA_UM_FORGOT_PWD_NOTIFY');

Line 693: wf_engine.CreateProcess(itemtype => 'JTFFPWD',

689:
690: -- start the workflow that will send the notification and reset
691: -- the password
692:
693: wf_engine.CreateProcess(itemtype => 'JTFFPWD',
694: itemkey => seq,
695: process => 'RESETPASSWD');
696: wf_engine.SetItemAttrText(itemtype => 'JTFFPWD',
697: itemkey => seq,

Line 696: wf_engine.SetItemAttrText(itemtype => 'JTFFPWD',

692:
693: wf_engine.CreateProcess(itemtype => 'JTFFPWD',
694: itemkey => seq,
695: process => 'RESETPASSWD');
696: wf_engine.SetItemAttrText(itemtype => 'JTFFPWD',
697: itemkey => seq,
698: aname => 'X_USER_NAME',
699: avalue => p_name);
700:

Line 702: wf_engine.SetItemAttrText(itemtype => 'JTFFPWD',

698: aname => 'X_USER_NAME',
699: avalue => p_name);
700:
701: if p_user_appr_msg_name is not null then
702: wf_engine.SetItemAttrText(itemtype => 'JTFFPWD',
703: itemkey => seq,
704: aname => 'APPR_MESSAGE',
705: avalue => p_user_appr_msg_name);
706: end if;

Line 709: wf_engine.SetItemAttrText(itemtype => 'JTFFPWD',

705: avalue => p_user_appr_msg_name);
706: end if;
707:
708: if p_pwd_reset_msg_name is not null then
709: wf_engine.SetItemAttrText(itemtype => 'JTFFPWD',
710: itemkey => seq,
711: aname => 'CONFIRM_MSG',
712: avalue => p_pwd_reset_msg_name);
713: end if;

Line 715: wf_engine.StartProcess(itemtype => 'JTFFPWD',

711: aname => 'CONFIRM_MSG',
712: avalue => p_pwd_reset_msg_name);
713: end if;
714:
715: wf_engine.StartProcess(itemtype => 'JTFFPWD',
716: itemkey => seq);
717:
718:
719: fnd_message.set_name('JTF','JTA_UM_FORGOT_PWD_NOTIFY');