DBA Data[Home] [Help]

APPS.OKC_TASK_ALERT_ESCL_PVT dependencies on WF_ENGINE

Line 238: WF_ENGINE.CREATEPROCESS(L_ITEM_TYPE, L_ITEM_KEY, L_PROCESS);

234: OKC_DEBUG.log('190: l_process ... '|| l_process);
235: END IF;
236:
237: --Launch The workflow to send notifications
238: WF_ENGINE.CREATEPROCESS(L_ITEM_TYPE, L_ITEM_KEY, L_PROCESS);
239:
240: IF (l_debug = 'Y') THEN
241: OKC_DEBUG.log('200: Launching the Workflow to send notification .....');
242: END IF;

Line 245: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,

241: OKC_DEBUG.log('200: Launching the Workflow to send notification .....');
242: END IF;
243:
244: --set item attributes;
245: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,
246: itemkey => l_item_key,
247: aname => 'TASK_NAME',
248: avalue => l_task_name);
249:

Line 254: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,

250: IF (l_debug = 'Y') THEN
251: OKC_DEBUG.log('210: Setting Item Attribute TASK_NAME with '|| l_task_name);
252: END IF;
253:
254: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,
255: itemkey => l_item_key,
256: aname => 'TASK_OWNER',
257: avalue => l_owner_name);
258:

Line 263: WF_ENGINE.Setitemattrdate(itemtype => l_item_type,

259: IF (l_debug = 'Y') THEN
260: OKC_DEBUG.log('220: Setting Item Attribute TASK_OWNER with '|| l_owner_name);
261: END IF;
262:
263: WF_ENGINE.Setitemattrdate(itemtype => l_item_type,
264: itemkey => l_item_key,
265: aname => 'DUE_DATE',
266: avalue => l_planned_end_date);
267:

Line 272: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,

268: IF (l_debug = 'Y') THEN
269: OKC_DEBUG.log('230: Setting Item Attribute DUE_DATE with '|| l_planned_end_date);
270: END IF;
271:
272: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,
273: itemkey => l_item_key,
274: aname => 'ESCALATE_OWNER',
275: avalue => l_escalate_name);
276:

Line 281: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,

277: IF (l_debug = 'Y') THEN
278: OKC_DEBUG.log('240: Setting Item Attribute ESCALATE_OWNER with '|| l_escalate_name);
279: END IF;
280:
281: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,
282: itemkey => l_item_key,
283: aname => 'DISPLAY_TASK_OWNER',
284: avalue => l_dummy);
285:

Line 290: WF_ENGINE.Setitemattrnumber(itemtype => l_item_type,

286: IF (l_debug = 'Y') THEN
287: OKC_DEBUG.log('250: Setting Item Attribute DISPLAY_TASK_OWNER with '|| l_dummy);
288: END IF;
289:
290: WF_ENGINE.Setitemattrnumber(itemtype => l_item_type,
291: itemkey => l_item_key,
292: aname => 'TASK_ID',
293: avalue => l_task_id);
294:

Line 299: WF_ENGINE.Setitemattrnumber(itemtype => l_item_type,

295: IF (l_debug = 'Y') THEN
296: OKC_DEBUG.log('260: Setting Item Attribute TASK_ID with '|| l_task_id);
297: END IF;
298:
299: WF_ENGINE.Setitemattrnumber(itemtype => l_item_type,
300: itemkey => l_item_key,
301: aname => 'CONTRACT_ID',
302: avalue => l_contract_id);
303:

Line 309: WF_ENGINE.STARTPROCESS(l_item_type, l_item_key);

305: OKC_DEBUG.log('270: Setting Item Attribute CONTRACT_ID with '|| l_contract_id);
306: END IF;
307:
308: --Start the workflow process
309: WF_ENGINE.STARTPROCESS(l_item_type, l_item_key);
310:
311: IF (l_debug = 'Y') THEN
312: OKC_DEBUG.log('280: started workflow process .....');
313: END IF;

Line 680: WF_ENGINE.CREATEPROCESS(L_ITEM_TYPE, L_ITEM_KEY, L_PROCESS);

676: OKC_DEBUG.log('690: l_process ... '|| l_process);
677: END IF;
678:
679: --Launch the workflow to escalate the incomplete tasks to the manager
680: WF_ENGINE.CREATEPROCESS(L_ITEM_TYPE, L_ITEM_KEY, L_PROCESS);
681:
682: IF (l_debug = 'Y') THEN
683: OKC_DEBUG.log('700: Launching the Workflow to send notification .....');
684: END IF;

Line 687: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,

683: OKC_DEBUG.log('700: Launching the Workflow to send notification .....');
684: END IF;
685:
686: --set item attributes;
687: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,
688: itemkey => l_item_key,
689: aname => 'TASK_NAME',
690: avalue => l_task_name);
691:

Line 696: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,

692: IF (l_debug = 'Y') THEN
693: OKC_DEBUG.log('710: Setting Item Attribute TASK_NAME with '|| l_task_name);
694: END IF;
695:
696: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,
697: itemkey => l_item_key,
698: aname => 'TASK_OWNER',
699: avalue => l_escalate_owner1);
700:

Line 705: WF_ENGINE.Setitemattrdate(itemtype => l_item_type,

701: IF (l_debug = 'Y') THEN
702: OKC_DEBUG.log('720: Setting Item Attribute TASK_OWNER with '|| l_escalate_owner1);
703: END IF;
704:
705: WF_ENGINE.Setitemattrdate(itemtype => l_item_type,
706: itemkey => l_item_key,
707: aname => 'DUE_DATE',
708: avalue => l_planned_end_date);
709:

Line 714: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,

710: IF (l_debug = 'Y') THEN
711: OKC_DEBUG.log('730: Setting Item Attribute DUE_DATE with '|| l_planned_end_date);
712: END IF;
713:
714: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,
715: itemkey => l_item_key,
716: aname => 'ESCALATE_OWNER',
717: avalue => l_escalate_name);
718:

Line 723: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,

719: IF (l_debug = 'Y') THEN
720: OKC_DEBUG.log('740: Setting Item Attribute ESCALATE_OWNER with '|| l_escalate_name);
721: END IF;
722:
723: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,
724: itemkey => l_item_key,
725: aname => 'DISPLAY_TASK_OWNER',
726: avalue => l_owner_name);
727:

Line 732: WF_ENGINE.Setitemattrnumber(itemtype => l_item_type,

728: IF (l_debug = 'Y') THEN
729: OKC_DEBUG.log('750: Setting Item Attribute DISPLAY_TASK_OWNER with '|| l_owner_name);
730: END IF;
731:
732: WF_ENGINE.Setitemattrnumber(itemtype => l_item_type,
733: itemkey => l_item_key,
734: aname => 'TASK_ID',
735: avalue => l_task_id);
736:

Line 741: WF_ENGINE.Setitemattrnumber(itemtype => l_item_type,

737: IF (l_debug = 'Y') THEN
738: OKC_DEBUG.log('760: Setting Item Attribute TASK_ID with '|| l_task_id);
739: END IF;
740:
741: WF_ENGINE.Setitemattrnumber(itemtype => l_item_type,
742: itemkey => l_item_key,
743: aname => 'CONTRACT_ID',
744: avalue => l_contract_id);
745:

Line 750: WF_ENGINE.STARTPROCESS(l_item_type, l_item_key);

746: IF (l_debug = 'Y') THEN
747: OKC_DEBUG.log('770: Setting Item Attribute CONTRACT_ID with '|| l_contract_id);
748: END IF;
749: --Start the workflow
750: WF_ENGINE.STARTPROCESS(l_item_type, l_item_key);
751:
752: IF (l_debug = 'Y') THEN
753: OKC_DEBUG.log('780: started workflow process .....');
754: END IF;

Line 1109: WF_ENGINE.CREATEPROCESS(L_ITEM_TYPE, L_ITEM_KEY, L_PROCESS);

1105: OKC_DEBUG.log('1090: l_process ... '|| l_process);
1106: END IF;
1107:
1108: --Launch Workflow to escalate the task to level 2 (mananger)
1109: WF_ENGINE.CREATEPROCESS(L_ITEM_TYPE, L_ITEM_KEY, L_PROCESS);
1110:
1111: IF (l_debug = 'Y') THEN
1112: OKC_DEBUG.log('2000: Launching the Workflow to send notification .....');
1113: END IF;

Line 1116: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,

1112: OKC_DEBUG.log('2000: Launching the Workflow to send notification .....');
1113: END IF;
1114:
1115: --set item attributes;
1116: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,
1117: itemkey => l_item_key,
1118: aname => 'TASK_NAME',
1119: avalue => l_task_name);
1120:

Line 1125: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,

1121: IF (l_debug = 'Y') THEN
1122: OKC_DEBUG.log('2010: Setting Item Attribute TASK_NAME with '|| l_task_name);
1123: END IF;
1124:
1125: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,
1126: itemkey => l_item_key,
1127: aname => 'TASK_OWNER',
1128: avalue => l_escalate_owner2);
1129:

Line 1134: WF_ENGINE.Setitemattrdate(itemtype => l_item_type,

1130: IF (l_debug = 'Y') THEN
1131: OKC_DEBUG.log('2020: Setting Item Attribute TASK_OWNER with '|| l_escalate_owner2);
1132: END IF;
1133:
1134: WF_ENGINE.Setitemattrdate(itemtype => l_item_type,
1135: itemkey => l_item_key,
1136: aname => 'DUE_DATE',
1137: avalue => l_planned_end_date);
1138:

Line 1143: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,

1139: IF (l_debug = 'Y') THEN
1140: OKC_DEBUG.log('2030: Setting Item Attribute DUE_DATE with '|| l_planned_end_date);
1141: END IF;
1142:
1143: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,
1144: itemkey => l_item_key,
1145: aname => 'ESCALATE_OWNER',
1146: avalue => NULL);
1147:

Line 1152: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,

1148: IF (l_debug = 'Y') THEN
1149: OKC_DEBUG.log('2040: Setting Item Attribute ESCALATE_OWNER with '|| NULL);
1150: END IF;
1151:
1152: WF_ENGINE.Setitemattrtext(itemtype => l_item_type,
1153: itemkey => l_item_key,
1154: aname => 'DISPLAY_TASK_OWNER',
1155: avalue => l_owner_name);
1156:

Line 1161: WF_ENGINE.Setitemattrnumber(itemtype => l_item_type,

1157: IF (l_debug = 'Y') THEN
1158: OKC_DEBUG.log('2050: Setting Item Attribute DISPLAY_TASK_OWNER with '|| l_owner_name);
1159: END IF;
1160:
1161: WF_ENGINE.Setitemattrnumber(itemtype => l_item_type,
1162: itemkey => l_item_key,
1163: aname => 'TASK_ID',
1164: avalue => l_task_id);
1165:

Line 1170: WF_ENGINE.Setitemattrnumber(itemtype => l_item_type,

1166: IF (l_debug = 'Y') THEN
1167: OKC_DEBUG.log('2060: Setting Item Attribute TASK_ID with '|| l_task_id);
1168: END IF;
1169:
1170: WF_ENGINE.Setitemattrnumber(itemtype => l_item_type,
1171: itemkey => l_item_key,
1172: aname => 'CONTRACT_ID',
1173: avalue => l_contract_id);
1174:

Line 1180: WF_ENGINE.STARTPROCESS(l_item_type, l_item_key);

1176: OKC_DEBUG.log('2070: Setting Item Attribute CONTRACT_ID with '|| l_contract_id);
1177: END IF;
1178:
1179: --start the workflow
1180: WF_ENGINE.STARTPROCESS(l_item_type, l_item_key);
1181:
1182: IF (l_debug = 'Y') THEN
1183: OKC_DEBUG.log('2080: started workflow process .....');
1184: END IF;