1 PACKAGE IEX_STRY_CUWF_PUB AUTHID CURRENT_USER as
2 /* $Header: iexpscws.pls 120.1 2005/12/06 13:52:30 schekuri noship $ */
3
4 TYPE CUSTOM_WF_Rec_Type IS RECORD (
5 strategy_id NUMBER := FND_API.G_MISS_NUM,
6 workitem_id NUMBER := FND_API.G_MISS_NUM,
7 -- this is the name of the work flow
8 custom_itemtype VARCHAR2(240) := FND_API.G_MISS_CHAR
9 ,user_id NUMBER :=FND_API.G_MISS_NUM
10 ,resp_id NUMBER :=FND_API.G_MISS_NUM
11 ,resp_appl_id NUMBER :=FND_API.G_MISS_NUM
12 );
13 G_MISS_CUSTOM_WF_REC CUSTOM_WF_Rec_Type;
14
15
16 /**
17 * will launch custom work flow
18 **/
19
20 procedure Start_CustomWF(
21 p_api_version IN NUMBER := 1.0,
22 p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,
23 p_commit IN VARCHAR2 := FND_API.G_FALSE,
24 p_custom_wf_rec IN CUSTOM_WF_REC_TYPE,
25 x_return_status OUT NOCOPY VARCHAR2,
26 x_msg_count OUT NOCOPY NUMBER,
27 x_msg_data OUT NOCOPY VARCHAR2);
28
29
30 /** send signal to the main work flow that the custom work flow is over and
31 * also updates the work item
32 **/
33
34 procedure wf_send_signal(
35 itemtype in varchar2,
36 itemkey in varchar2,
37 actid in number,
38 funcmode in varchar2,
39 result out NOCOPY varchar2);
40
41
42 /*
43 **The standard API for the selector/callback function is as follows
44 */
45
46
47 procedure start_process (item_type in varchar2,
48 item_key in varchar2,
49 activity_id in number,
50 command in varchar2,
51 result in out NOCOPY varchar2);
52
53
54 --Start schekuri Bug#4506922 Date:02-Dec-2005
55 --added for the function WAIT_ON_HOLD_SIGNAL in workflow IEXSTRCM
56 procedure wait_on_hold_signal(
57 itemtype in varchar2,
58 itemkey in varchar2,
59 actid in number,
60 funcmode in varchar2,
61 result out nocopy varchar2);
62 --end schekuri Bug#4506922 Date:02-Dec-2005
63
64 END IEX_STRY_CUWF_PUB;