1 PACKAGE CCT_ServiceRouting_PUB as
2 /* $Header: cctrwcss.pls 120.0 2005/06/02 09:52:15 appldev noship $ */
3
4 /*------------------------------------------------------------------------
5 Service Routing Workflow Activities
6 *------------------------------------------------------------------------*/
7
8
9
10 /* -----------------------------------------------------------------------
11 3 Activity Name : Set_Customer_Filter (filter node)
12 To filter the agents by Customer ID
13 Prerequisites : The Customer initialization phase must be completed
14 before using this filter
15 IN
16 itemtype - item type
17 itemkey - item key
18 actid - process activity instance id
19 funmode - execution mode
20 OUT
21 No output
22 ITEM ATTRIBUTES REFERENCED
23 CUSTID - the customer ID
24 CUST-F - the customer filter flag
25 CALLID - the call ID
26 *-----------------------------------------------------------------------*/
27 procedure Set_Customer_Filter (
28 itemtype in varchar2
29 , itemkey in varchar2
30 , actid in number
31 , funmode in varchar2
32 , resultout in out nocopy varchar2) ;
33
34
35
36
37
38
39
40
41
42
43
44
45 /* -----------------------------------------------------------------------
46 20 Activity Name : Set_Product_Filter (Filter node)
47
48 To filter the agents by Product ID.
49 Prerequisites: The Product initialization phase must be completed before
50 using this filter.
51 IN
52 itemtype - item type
53 itemkey - item key
54 actid - process activity instance id
55 funmode - execution mode
56 OUT
57 no output
58 ITEM ATTRIBUTES REFERENCED
59 CALLID - the call ID
60 PRODID - the product ID
61 PROD-F - the product filter flag
62
63 Implementation: No working output is expected from this function.
64 The CS API returns the number of agents.
65 The lsit of agents is returned by the CS API as a PL*SQL table.
66 Loop through the table and insert each agent into the CCT_TEMPAGENTS table.
67 *-----------------------------------------------------------------------*/
68 procedure Set_Product_Filter (
69 itemtype in varchar2
70 , itemkey in varchar2
71 , actid in number
72 , funmode in varchar2
73 , resultout in out nocopy varchar2) ;
74
75 /* -----------------------------------------------------------------------
76 Activity Name : Set_Request_Owner_Filter (filter node)
77 To filter the agents by Request Number
78 Prerequisites :
79 IN
80 itemtype - item type
81 itemkey - item key
82 actid - process activity instance id
83 funmode - execution mode
84 OUT
85 No output
86 ITEM ATTRIBUTES REFERENCED
87 CUSTID - the customer ID
88 REQ-OWNER-F - the request owner filter flag
89 *-----------------------------------------------------------------------*/
90 procedure Set_Request_Owner_Filter (
91 itemtype in varchar2
92 , itemkey in varchar2
93 , actid in number
94 , funmode in varchar2
95 , resultout in out nocopy varchar2) ;
96
97
98 END CCT_ServiceRouting_PUB;