DBA Data[Home] [Help]

APPS.CS_WORKFLOW_PUB dependencies on WF_ENGINE

Line 327: WF_ENGINE.CreateProcess(

323: OPEN l_Wf_ItemType;
324: FETCH l_Wf_ItemType into l_itemtype;
325: CLOSE l_Wf_ItemType;
326: -- Create and launch the Workflow process
327: WF_ENGINE.CreateProcess(
328: itemtype => l_itemtype,
329: itemkey => l_itemkey,
330: process => l_workflow_proc );
331:

Line 332: WF_ENGINE.SetItemAttrText(

328: itemtype => l_itemtype,
329: itemkey => l_itemkey,
330: process => l_workflow_proc );
331:
332: WF_ENGINE.SetItemAttrText(
333: itemtype => l_itemtype,
334: itemkey => l_itemkey,
335: aname => 'USER_ID',
336: avalue => l_user_id );

Line 338: WF_ENGINE.SetItemAttrText(

334: itemkey => l_itemkey,
335: aname => 'USER_ID',
336: avalue => l_user_id );
337:
338: WF_ENGINE.SetItemAttrText(
339: itemtype => l_itemtype,
340: itemkey => l_itemkey,
341: aname => 'RESP_ID',
342: avalue => l_resp_id );

Line 344: WF_ENGINE.SetItemAttrText(

340: itemkey => l_itemkey,
341: aname => 'RESP_ID',
342: avalue => l_resp_id );
343:
344: WF_ENGINE.SetItemAttrText(
345: itemtype => l_itemtype,
346: itemkey => l_itemkey,
347: aname => 'RESP_APPL_ID',
348: avalue => l_resp_appl_id );

Line 351: WF_ENGINE.SetItemAttrText(

347: aname => 'RESP_APPL_ID',
348: avalue => l_resp_appl_id );
349:
350: IF l_itemtype = 'SERVEREQ' THEN
351: WF_ENGINE.SetItemAttrText(
352: itemtype => l_itemtype,
353: itemkey => l_itemkey,
354: aname => 'INITIATOR_ROLE',
355: avalue => l_initiator_role );

Line 357: WF_ENGINE.SetItemAttrText(

353: itemkey => l_itemkey,
354: aname => 'INITIATOR_ROLE',
355: avalue => l_initiator_role );
356:
357: WF_ENGINE.SetItemAttrText(
358: itemtype => l_itemtype,
359: itemkey => l_itemkey,
360: aname => 'WF_ADMINISTRATOR',
361: avalue => l_administrator );

Line 364: wf_engine.setitemowner

360: aname => 'WF_ADMINISTRATOR',
361: avalue => l_administrator );
362: END IF;
363:
364: wf_engine.setitemowner
365: ( itemtype => l_itemtype,
366: itemkey => l_itemkey,
367: owner => l_initiator_role );
368:

Line 369: WF_ENGINE.StartProcess(

365: ( itemtype => l_itemtype,
366: itemkey => l_itemkey,
367: owner => l_initiator_role );
368:
369: WF_ENGINE.StartProcess(
370: itemtype => l_itemtype,
371: itemkey => l_itemkey );
372:
373: --Commented for bug 6449697

Line 375: /*WF_ENGINE.CreateProcess(

371: itemkey => l_itemkey );
372:
373: --Commented for bug 6449697
374: -- Create and launch the Workflow process
375: /*WF_ENGINE.CreateProcess(
376: itemtype => 'SERVEREQ',
377: itemkey => l_itemkey,
378: process => l_workflow_proc );
379:

Line 380: WF_ENGINE.SetItemAttrText(

376: itemtype => 'SERVEREQ',
377: itemkey => l_itemkey,
378: process => l_workflow_proc );
379:
380: WF_ENGINE.SetItemAttrText(
381: itemtype => 'SERVEREQ',
382: itemkey => l_itemkey,
383: aname => 'INITIATOR_ROLE',
384: avalue => l_initiator_role );

Line 386: WF_ENGINE.SetItemAttrText(

382: itemkey => l_itemkey,
383: aname => 'INITIATOR_ROLE',
384: avalue => l_initiator_role );
385:
386: WF_ENGINE.SetItemAttrText(
387: itemtype => 'SERVEREQ',
388: itemkey => l_itemkey,
389: aname => 'USER_ID',
390: avalue => l_user_id ); --5042407

Line 392: WF_ENGINE.SetItemAttrText(

388: itemkey => l_itemkey,
389: aname => 'USER_ID',
390: avalue => l_user_id ); --5042407
391:
392: WF_ENGINE.SetItemAttrText(
393: itemtype => 'SERVEREQ',
394: itemkey => l_itemkey,
395: aname => 'RESP_ID',
396: avalue => l_resp_id ); --5042407

Line 398: WF_ENGINE.SetItemAttrText(

394: itemkey => l_itemkey,
395: aname => 'RESP_ID',
396: avalue => l_resp_id ); --5042407
397:
398: WF_ENGINE.SetItemAttrText(
399: itemtype => 'SERVEREQ',
400: itemkey => l_itemkey,
401: aname => 'RESP_APPL_ID',
402: avalue => l_resp_appl_id ); --5042407

Line 404: WF_ENGINE.SetItemAttrText(

400: itemkey => l_itemkey,
401: aname => 'RESP_APPL_ID',
402: avalue => l_resp_appl_id ); --5042407
403:
404: WF_ENGINE.SetItemAttrText(
405: itemtype => 'SERVEREQ',
406: itemkey => l_itemkey,
407: aname => 'WF_ADMINISTRATOR',
408: avalue => l_administrator );

Line 410: wf_engine.setitemowner

406: itemkey => l_itemkey,
407: aname => 'WF_ADMINISTRATOR',
408: avalue => l_administrator );
409:
410: wf_engine.setitemowner
411: ( itemtype => 'SERVEREQ',
412: itemkey => l_itemkey,
413: owner => l_initiator_role );
414:

Line 415: WF_ENGINE.StartProcess(

411: ( itemtype => 'SERVEREQ',
412: itemkey => l_itemkey,
413: owner => l_initiator_role );
414:
415: WF_ENGINE.StartProcess(
416: itemtype => 'SERVEREQ',
417: itemkey => l_itemkey );*/
418:
419:

Line 795: WF_ENGINE.AbortProcess(

791: CLOSE l_itemtype_csr;
792:
793: IF l_itemtype = 'SERVEREQ' THEN ----Bug 6449697
794: -- Call Workflow API to abort the process
795: WF_ENGINE.AbortProcess(
796: itemtype => 'SERVEREQ',
797: itemkey => l_itemkey );
798:
799: -- Notify the current owner that the process has been aborted

Line 800: l_owner_role := WF_ENGINE.GetItemAttrText(

796: itemtype => 'SERVEREQ',
797: itemkey => l_itemkey );
798:
799: -- Notify the current owner that the process has been aborted
800: l_owner_role := WF_ENGINE.GetItemAttrText(
801: itemtype => 'SERVEREQ',
802: itemkey => l_itemkey,
803: aname => 'OWNER_ROLE' );
804:

Line 815: callback => 'WF_ENGINE.CB',

811: l_notification_id := WF_Notification.Send(
812: role => l_owner_role,
813: msg_type => 'SERVEREQ',
814: msg_name => 'ABORT_MESG',
815: callback => 'WF_ENGINE.CB',
816: context => l_context );
817:
818: WF_Notification.SetAttrText(
819: nid => l_notification_id,

Line 825: WF_ENGINE.AbortProcess(

821: avalue => l_aborted_by );
822: END IF;
823: --Bug 6449697
824: ELSIF l_itemtype = 'EAMSRAPR' THEN
825: WF_ENGINE.AbortProcess(
826: itemtype => 'EAMSRAPR',
827: itemkey => l_itemkey );
828: END IF;
829:

Line 1540: WF_ENGINE.CreateProcess

1536: x_role_display_name => l_dummy );
1537: END IF;
1538:
1539: -- Create and launch the Workflow process
1540: WF_ENGINE.CreateProcess
1541: ( itemtype => l_itemtype,
1542: itemkey => l_itemkey,
1543: process => l_workflow_proc
1544: );

Line 1546: WF_ENGINE.SetItemAttrText

1542: itemkey => l_itemkey,
1543: process => l_workflow_proc
1544: );
1545:
1546: WF_ENGINE.SetItemAttrText
1547: ( itemtype => l_itemtype,
1548: itemkey => l_itemkey,
1549: aname => 'INITIATOR_ROLE',
1550: avalue => l_initiator_role

Line 1553: WF_ENGINE.SetItemAttrText

1549: aname => 'INITIATOR_ROLE',
1550: avalue => l_initiator_role
1551: );
1552:
1553: WF_ENGINE.SetItemAttrText
1554: ( itemtype => l_itemtype,
1555: itemkey => l_itemkey,
1556: aname => 'USER_ID',
1557: avalue => p_initiator_user_id

Line 1560: WF_ENGINE.SetItemAttrText

1556: aname => 'USER_ID',
1557: avalue => p_initiator_user_id
1558: );
1559:
1560: WF_ENGINE.SetItemAttrText
1561: ( itemtype => l_itemtype,
1562: itemkey => l_itemkey,
1563: aname => 'RESP_ID',
1564: avalue => p_initiator_resp_id

Line 1567: WF_ENGINE.SetItemAttrText

1563: aname => 'RESP_ID',
1564: avalue => p_initiator_resp_id
1565: );
1566:
1567: WF_ENGINE.SetItemAttrText
1568: ( itemtype => l_itemtype,
1569: itemkey => l_itemkey,
1570: aname => 'RESP_APPL_ID',
1571: avalue => p_initiator_resp_appl_id

Line 1574: WF_ENGINE.SetItemAttrText

1570: aname => 'RESP_APPL_ID',
1571: avalue => p_initiator_resp_appl_id
1572: );
1573:
1574: WF_ENGINE.SetItemAttrText
1575: ( itemtype => l_itemtype,
1576: itemkey => l_itemkey,
1577: aname => 'WF_ADMINISTRATOR',
1578: avalue => l_administrator

Line 1581: WF_ENGINE.SetItemAttrText

1577: aname => 'WF_ADMINISTRATOR',
1578: avalue => l_administrator
1579: );
1580:
1581: WF_ENGINE.SetItemAttrText
1582: ( itemtype => l_itemtype,
1583: itemkey => l_itemkey,
1584: aname => 'LAUNCHED_BY_DISPATCH',
1585: avalue => p_launched_by_dispatch

Line 1588: wf_engine.setitemowner

1584: aname => 'LAUNCHED_BY_DISPATCH',
1585: avalue => p_launched_by_dispatch
1586: );
1587:
1588: wf_engine.setitemowner
1589: ( itemtype => l_itemtype,
1590: itemkey => l_itemkey,
1591: owner => l_initiator_role );
1592:

Line 1593: WF_ENGINE.StartProcess

1589: ( itemtype => l_itemtype,
1590: itemkey => l_itemkey,
1591: owner => l_initiator_role );
1592:
1593: WF_ENGINE.StartProcess
1594: ( itemtype => l_itemtype,
1595: itemkey => l_itemkey
1596: );
1597:

Line 1864: WF_ENGINE.AbortProcess

1860: l_aborted_by := l_user_name;
1861: END IF;
1862:
1863: -- Call Workflow API to abort the process
1864: WF_ENGINE.AbortProcess
1865: ( itemtype => l_itemtype,
1866: itemkey => l_itemkey );
1867:
1868: -- Set up the context information for the callback function

Line 1874: l_assignee_role := WF_ENGINE.GetItemAttrText

1870: l_context := l_itemtype || ':' || l_itemkey || ':' || l_activityid;
1871:
1872: -- Notify the current owner that the process has been aborted
1873: -- Note that we're using Workflow engine's callback function
1874: l_assignee_role := WF_ENGINE.GetItemAttrText
1875: ( itemtype => l_itemtype,
1876: itemkey => l_itemkey,
1877: aname => 'ASSIGNEE_ROLE'
1878: );

Line 1884: callback => 'WF_ENGINE.CB',

1880: l_notification_id := WF_Notification.Send
1881: ( role => l_assignee_role,
1882: msg_type => l_itemtype,
1883: msg_name => 'ABORT_MSG',
1884: callback => 'WF_ENGINE.CB',
1885: context => l_context
1886: );
1887: WF_Notification.SetAttrText
1888: ( nid => l_notification_id,

Line 1895: l_dispatch_role := WF_ENGINE.GetItemAttrText

1891: );
1892: END IF;
1893:
1894: -- Notify the dispatcher that the process has been aborted
1895: l_dispatch_role := WF_ENGINE.GetItemAttrText
1896: ( itemtype => l_itemtype,
1897: itemkey => l_itemkey,
1898: aname => 'DISPATCHER_ROLE'
1899: );

Line 1916: callback => 'WF_ENGINE.CB',

1912: l_notification_id := WF_Notification.Send
1913: ( role => l_dispatch_role,
1914: msg_type => l_itemtype,
1915: msg_name => 'ABORT_MSG',
1916: callback => 'WF_ENGINE.CB',
1917: context => l_context
1918: );
1919: WF_Notification.SetAttrText
1920: ( nid => l_notification_id,

Line 1927: p_launched_by_dispatch := WF_ENGINE.GetItemAttrText

1923: );
1924: END IF;
1925: END IF;
1926:
1927: p_launched_by_dispatch := WF_ENGINE.GetItemAttrText
1928: ( itemtype => l_itemtype,
1929: itemkey => l_itemkey,
1930: aname => 'LAUNCHED_BY_DISPATCH'
1931: );